Update README.md

A warning to the wise.
This commit is contained in:
Ian A Mason 2020-10-09 15:35:55 -07:00 committed by GitHub
parent 4b34b5e1aa
commit b8413d515c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,6 +243,14 @@ produces the bitcode. This can be fulfilled by setting the
`LLVM_BITCODE_GENERATION_FLAGS` environment variable to the desired `LLVM_BITCODE_GENERATION_FLAGS` environment variable to the desired
flags, for example `"-flto -fwhole-program-vtables"`. flags, for example `"-flto -fwhole-program-vtables"`.
## Beware of link time optimization.
If the package you are building happens to take advantage of recent `clang` developments
such as *link time optimization* (indicated by the presence of compiler flag `-flto`), then
your build is unlikely to produce anything that `get-bc` will work on. This is to be
expected.
## License ## License