mirror of
https://github.com/danog/gllvm.git
synced 2024-11-26 17:44:54 +01:00
Merge branch 'master' of https://github.com/SRI-CSL/gllvm
This commit is contained in:
commit
3937f675c1
@ -243,6 +243,14 @@ produces the bitcode. This can be fulfilled by setting the
|
||||
`LLVM_BITCODE_GENERATION_FLAGS` environment variable to the desired
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user