aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ConstantFolding.cpp
diff options
context:
space:
mode:
authorKai Luo <lkail@cn.ibm.com>2023-09-13 05:10:09 +0000
committerKai Luo <lkail@cn.ibm.com>2023-09-13 05:24:20 +0000
commitca8d2533c79ccfbcb2de4090f0d48914a60b0a3d (patch)
treef2ad776a34ffaf23ce8a59d84eb74c49dff33d06 /llvm/lib/Analysis/ConstantFolding.cpp
parent3755ea93b4f7d7a637db307d1e56256a16f4459a (diff)
downloadllvm-ca8d2533c79ccfbcb2de4090f0d48914a60b0a3d.zip
llvm-ca8d2533c79ccfbcb2de4090f0d48914a60b0a3d.tar.gz
llvm-ca8d2533c79ccfbcb2de4090f0d48914a60b0a3d.tar.bz2
[clang-repl][Orc] Export executable symbols in ClangReplInterpreterExceptionTests
In Orc runtime, we use `dlopen(nullptr, ...)` to open current executable and use `dlsym` to find addresses of symbols, this requires `-rdynamic` flag. As `llvm/CMakeLists.txt` suggests ``` # Make sure we don't get -rdynamic in every binary. For those that need it, # use export_executable_symbols(target). ``` This patch exports symbols in `ClangReplInterpreterExceptionTests`. This also fixes `ClangReplInterpreterExceptionTests` is skipped on ppc64 when jitlink is used. Reviewed By: v.g.vassilev Differential Revision: https://reviews.llvm.org/D159167
Diffstat (limited to 'llvm/lib/Analysis/ConstantFolding.cpp')
0 files changed, 0 insertions, 0 deletions