summaryrefslogtreecommitdiff
path: root/lib/Serialization/ASTCommon.cpp
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2018-06-02 01:22:39 +0000
committerShoaib Meenai <smeenai@fb.com>2018-06-02 01:22:39 +0000
commit02af30a94970b343ab052cab5166b2140b7071b8 (patch)
treefe1a59748ccd21c133c66c67c42c69a4b0b7e506 /lib/Serialization/ASTCommon.cpp
parent415eff1b5f25f53e40453b6b9dffa05b67e464b5 (diff)
downloadclang-02af30a94970b343ab052cab5166b2140b7071b8.tar.gz
[cmake] Support LLD for CLANG_ORDER_FILE
LLD also supports order files using the `--symbol-ordering-file` option. As the name would suggest, the order file format is slightly different from gold; gold's order files specify section names, whereas LLD's specify symbol names. Assuming you have an order file in the correct format though, we should support using it with LLD. Switch the check to actually use LLVM's linker detection rather than just checking for the presence of the gold executable, since we might have a gold executable present but be using LLD (or bfd for that matter) as our linker. Differential Revision: https://reviews.llvm.org/D47669 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@333810 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ASTCommon.cpp')
0 files changed, 0 insertions, 0 deletions