Skip to content

Update demo.md #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/demo/demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ fx build

Fuchsia build conveniently generates a size report. Let's copy it for reference.

**Note** The `--args=clang_embed_bitcode=true` option above adds the compilation
**Note**
The `clang_prefix` is the absolute path of $LLVM_INSTALLDIR/bin(replace it by yours).
The `--args=clang_embed_bitcode=true` option above adds the compilation
flag `-Xclang=-fembed-bitcode=all`. This can be seen in the compilation database.
The effect of this is that the object files have the llvm bytecode produced by
clang, before the optimization passes, and the clang command line, captured in
Expand Down