aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/LangOptions.cpp
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2018-02-16 23:38:22 +0000
committerVitaly Buka <vitalybuka@google.com>2018-02-16 23:38:22 +0000
commit769134dac3f1968495f7341882e6e7c719545ead (patch)
treeefcbd618079ef6af5bbd465d08ad7233d81e19e7 /clang/lib/Basic/LangOptions.cpp
parentc35ff824de59904ff7cc8c93620feacae7947c3b (diff)
downloadllvm-769134dac3f1968495f7341882e6e7c719545ead.zip
llvm-769134dac3f1968495f7341882e6e7c719545ead.tar.gz
llvm-769134dac3f1968495f7341882e6e7c719545ead.tar.bz2
[ThinLTO] Allow indexing to request backend to ignore the module
Summary: Gold plugin does not add pass to ThinLTO modules without useful symbols. In this case ThinLTO can't create corresponding index file and some features, like CFI, cannot be processes by backed correctly without index. Given that we don't need the backed output we can request it to avoid processing the module. This is implemented by this patch using new "SkipModuleByDistributedBackend" flag. Reviewers: pcc, tejohnson Subscribers: mehdi_amini, inglorion, eraman, cfe-commits Differential Revision: https://reviews.llvm.org/D42995 llvm-svn: 325411
Diffstat (limited to 'clang/lib/Basic/LangOptions.cpp')
0 files changed, 0 insertions, 0 deletions