Don't set LLVM_NO_DEAD_STRIP on AIX
authorDavid Tenty <daltenty@ibm.com>
Wed, 13 Nov 2019 16:59:10 +0000 (11:59 -0500)
committerDavid Tenty <daltenty@ibm.com>
Wed, 13 Nov 2019 16:59:47 +0000 (11:59 -0500)
commit8b2b2c08d9945d1613ee2ce8923e0041bbb4c266
tree0a6514093eb1ee9c39ed05541ca8480758b1e38f
parentf5824799f612d9d3f19470a60533c2872bcc096b
Don't set LLVM_NO_DEAD_STRIP on AIX

Summary:
when building plugins, as AIX has symbols in it's standard library that
must be garbage collected or we will see link errors. Export lists will
handle this instead on AIX.

Reviewers: stevewan, sfertile, jasonliu, xingxue, DiggerLin

Reviewed By: DiggerLin

Subscribers: mgorny, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70130
llvm/cmake/modules/AddLLVM.cmake