aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-11-30 15:34:29 +0000
committerPavel Labath <labath@google.com>2016-11-30 15:34:29 +0000
commit5d92bc5bd91021cd591876983b7cbfc50be85cc0 (patch)
treeecca1d52e76813bf99f27b65e2eeefa70bec8aee /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent6f52fe9c8b063173b20e3cf23ca012c5f1ec0bc6 (diff)
downloadllvm-5d92bc5bd91021cd591876983b7cbfc50be85cc0.zip
llvm-5d92bc5bd91021cd591876983b7cbfc50be85cc0.tar.gz
llvm-5d92bc5bd91021cd591876983b7cbfc50be85cc0.tar.bz2
[Support] Use HAVE_DLOPEN to guard dlopen(3) usage
Summary: The usage was previously guarded by HAVE_DLFCN. This breaks on Android with LLVM_BUILD_STATIC as the platform does not provide a static version of libdl. Using HAVE_DLOPEN fixes it as the code will only get used if we are actually able to link an executable using dlopen. Reviewers: rafael, beanz Subscribers: tberghammer, danalbert, llvm-commits Differential Revision: https://reviews.llvm.org/D26504 llvm-svn: 288246
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions