diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-12-10 02:51:16 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-12-10 02:51:16 +0000 |
commit | 12a38adc58fe16217f194dc151970c89de0e73b4 (patch) | |
tree | 3eacf8e08aef9bd4a6253c5dc4430645360250ba /tools | |
parent | 3d9afa8e9714fb4d0fd0d210a35dcffbc6e33742 (diff) | |
download | external_llvm-12a38adc58fe16217f194dc151970c89de0e73b4.zip external_llvm-12a38adc58fe16217f194dc151970c89de0e73b4.tar.gz external_llvm-12a38adc58fe16217f194dc151970c89de0e73b4.tar.bz2 |
Revert to old behavior until linker can pass export-dynamic option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169720 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lto/LTOCodeGenerator.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/lto/LTOCodeGenerator.cpp b/tools/lto/LTOCodeGenerator.cpp index 90c47eb..dfd8858 100644 --- a/tools/lto/LTOCodeGenerator.cpp +++ b/tools/lto/LTOCodeGenerator.cpp @@ -379,7 +379,12 @@ bool LTOCodeGenerator::generateObjectFile(raw_ostream &out, // keeps only main if it exists and does nothing for libraries. Instead // we create the pass ourselves with the symbol list provided by the linker. PassManagerBuilder().populateLTOPassManager(passes, - /*Internalize=*/!_exportDynamic, + /*Internalize=*/ + // FIXME: remove 'false' once + // Darwin linker can pass this + // option. + // <rdar://problem/12839986> + false /*!_exportDynamic*/, !DisableInline, DisableGVNLoadPRE); |