diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2016-08-23 16:53:34 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-08-23 16:53:34 +0000 |
commit | 9ec5a61358fa7e5f4af389562a62400dd7201504 (patch) | |
tree | 97276d0c36ad4c65a3056a8bc8c9ebfa3d471052 /llvm/lib/Support/StringMap.cpp | |
parent | 97f446c04217045e181d6a88e1ad3a5ca55601a5 (diff) | |
download | bcm5719-llvm-9ec5a61358fa7e5f4af389562a62400dd7201504.tar.gz bcm5719-llvm-9ec5a61358fa7e5f4af389562a62400dd7201504.zip |
[ThinLTO] Make sure the Context used for the ThinLTO backend has all the appropriate options
An important performance setting on the LLVMContext for LTO is
enableDebugTypeODRUniquing(), this adds an automatic merging of
debug information in the context based on type ids.
Also, the lto::Config includes a diagnostic handler that needs to
be set on the Context, as well as the setDiscardValueNames() setting.
llvm-svn: 279532
Diffstat (limited to 'llvm/lib/Support/StringMap.cpp')
0 files changed, 0 insertions, 0 deletions