diff options
author | Charles Davis <cdavis5x@gmail.com> | 2018-10-08 18:35:00 +0000 |
---|---|---|
committer | Charles Davis <cdavis5x@gmail.com> | 2018-10-08 18:35:00 +0000 |
commit | 869e5d1fca1caaddfc6c3f8fc7de447e874f49ee (patch) | |
tree | c0199e433a55e8637ef1740ab1bf0a8e1ec8db41 /llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp | |
parent | 43bf9917cc54be406c0efb811635407dbb99c984 (diff) | |
download | llvm-869e5d1fca1caaddfc6c3f8fc7de447e874f49ee.zip llvm-869e5d1fca1caaddfc6c3f8fc7de447e874f49ee.tar.gz llvm-869e5d1fca1caaddfc6c3f8fc7de447e874f49ee.tar.bz2 |
[CMake] Link to compiler-rt if LIBUNWIND_USE_COMPILER_RT is ON.
Summary:
If `-nodefaultlibs` is given, we weren't actually linking to it. This
was true irrespective of passing `-rtlib=compiler-rt` (see previous
patch). Now we explicitly link it to handle that case.
I wonder if we should be linking these libraries only if we're using
`-nodefaultlibs`...
Reviewers: beanz
Subscribers: dberris, mgorny, christof, chrib, cfe-commits
Differential Revision: https://reviews.llvm.org/D51657
llvm-svn: 343990
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp')
0 files changed, 0 insertions, 0 deletions