summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2017-04-17 20:51:50 +0000
committerSylvestre Ledru <sylvestre@debian.org>2017-04-17 20:51:50 +0000
commitb0cec31db2905aa8e1dcd80b70616b3d5c3e16e7 (patch)
treed05b8f76b5a0dc8fc146419abff3a4dfec72496a /clang/lib
parentcdc937d0fc14315836b471834fec2ff341de240f (diff)
downloadbcm5719-llvm-b0cec31db2905aa8e1dcd80b70616b3d5c3e16e7.tar.gz
bcm5719-llvm-b0cec31db2905aa8e1dcd80b70616b3d5c3e16e7.zip
Add a linker script to version LLVM symbols
Summary: This patch adds a very simple linker script to version the lib's symbols and thus trying to avoid crashes if an application loads two different LLVM versions (as long as they do not share data between them). Note that we deliberately *don't* make LLVM_5.0 depend on LLVM_4.0: they're incompatible and the whole point of this patch is to tell the linker that. Avoid unexpected crashes when two LLVM versions are used in the same process. Author: Rebecca N. Palmer <rebecca_palmer@zoho.com> Author: Lisandro Damían Nicanor Pérez Meyer <lisandro@debian.org> Author: Sylvestre Ledru <sylvestre@debian.org> Bug-Debian: https://bugs.debian.org/848368 Reviewers: beanz, rnk Reviewed By: rnk Subscribers: mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D31524 llvm-svn: 300496
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud