Skip to content

Commit

Permalink
Add build step for ASan build instructions
Browse files Browse the repository at this point in the history
Summary: Add `cmake --build ./asan_build` step to creating a ASan build for folks jumping to `AddressSanitizer (ASan) Build` subheading without reading `Building on Linux and macOS` subheading

Differential Revision: D39600720

fbshipit-source-id: 0dd0bd49985fa7a07d00315bb4c2db7f970683a5
  • Loading branch information
0xedward authored and facebook-github-bot committed Sep 19, 2022
1 parent 0cf060b commit 3b81b86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/BuildingAndRunning.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ simply run:

git clone https://github.com/facebook/hermes.git
cmake -S hermes -B asan_build -G Ninja -D HERMES_ENABLE_ADDRESS_SANITIZER=ON
cmake --build ./asan_build

You can verify the build by looking for `asan` symbols in the `hermes` binary:

Expand Down

0 comments on commit 3b81b86

Please sign in to comment.