summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBlockPlacement.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-06-14 21:55:14 +0000
committerEric Fiselier <eric@efcs.ca>2016-06-14 21:55:14 +0000
commita0dd66423d9798380f0f96274bc12b203b63d4a6 (patch)
tree01d309330b56496299a555f57d546384f9db01fb /llvm/lib/CodeGen/MachineBlockPlacement.cpp
parent1317a251c5d829562e1c2945dd1f61d2f3e9bd74 (diff)
downloadbcm5719-llvm-a0dd66423d9798380f0f96274bc12b203b63d4a6.tar.gz
bcm5719-llvm-a0dd66423d9798380f0f96274bc12b203b63d4a6.zip
Automatically detect export lists for OS X.
Summary: Libc++ reexports symbols from the system libc++abi using -reexport_symbols_list. This can cause a linker failure if the list contains symbols not defined in the system libc++abi. This patch attempts to detect the OS X version and use it to determine the correct symbol list. It's my understanding that `lib/libc++abi2.exp` should be used on 10.9 and greater. Otherwise 'lib/libc++abi.exp' should be used This fixes PR25666 (https://llvm.org/bugs/show_bug.cgi?id=25666) Reviewers: mclow.lists, bcraig, dexonsmith, EricWF Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D20772 llvm-svn: 272723
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud