Skip to content

Commit 1c5d971

Browse files
committed
[Signals] Exclude dladdr for AIX after llvm#123879
Widely supported but missing on AIX https://www.austingroupbugs.net/view.php?id=993
1 parent 892a804 commit 1c5d971

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Support/Unix/Signals.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ void llvm::sys::PrintStackTrace(raw_ostream &OS, int Depth) {
812812
OS << "Stack dump without symbol names (ensure you have llvm-symbolizer in "
813813
"your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point "
814814
"to it):\n";
815-
#if HAVE_DLOPEN
815+
#if HAVE_DLOPEN && !defined(_AIX)
816816
int width = 0;
817817
for (int i = 0; i < depth; ++i) {
818818
Dl_info dlinfo;

0 commit comments

Comments
 (0)