llvm.org GIT mirror llvm / 12a38ad
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 Bill Wendling 6 years ago
1 changed file(s) with 6 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
378378 // keeps only main if it exists and does nothing for libraries. Instead
379379 // we create the pass ourselves with the symbol list provided by the linker.
380380 PassManagerBuilder().populateLTOPassManager(passes,
381 /*Internalize=*/!_exportDynamic,
381 /*Internalize=*/
382 // FIXME: remove 'false' once
383 // Darwin linker can pass this
384 // option.
385 //
386 false /*!_exportDynamic*/,
382387 !DisableInline,
383388 DisableGVNLoadPRE);
384389