summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.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
commitdb5781a78ff3309f3f338f72d84bf0c072547ee3 (patch)
treef81067ba1fe63d561752a9bb4141d9125a3dd8db /clang/lib/Frontend/CompilerInvocation.cpp
parent8908aa4e3058aa48da01b9b3895f35de7ae82753 (diff)
downloadbcm5719-llvm-db5781a78ff3309f3f338f72d84bf0c072547ee3.tar.gz
bcm5719-llvm-db5781a78ff3309f3f338f72d84bf0c072547ee3.zip
[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 llvm-svn: 333810
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud