[llvm] 1c5d971 - [Signals] Exclude dladdr for AIX after #123879
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 22 19:59:30 PST 2025
Author: Fangrui Song
Date: 2025-01-22T19:59:24-08:00
New Revision: 1c5d971e425ff080dffd4d9a9a7734ead042d323
URL: https://github.com/llvm/llvm-project/commit/1c5d971e425ff080dffd4d9a9a7734ead042d323
DIFF: https://github.com/llvm/llvm-project/commit/1c5d971e425ff080dffd4d9a9a7734ead042d323.diff
LOG: [Signals] Exclude dladdr for AIX after #123879
Widely supported but missing on AIX
https://www.austingroupbugs.net/view.php?id=993
Added:
Modified:
llvm/lib/Support/Unix/Signals.inc
Removed:
################################################################################
diff --git a/llvm/lib/Support/Unix/Signals.inc b/llvm/lib/Support/Unix/Signals.inc
index b840ec69c08a73..330b5d26fa50be 100644
--- a/llvm/lib/Support/Unix/Signals.inc
+++ b/llvm/lib/Support/Unix/Signals.inc
@@ -812,7 +812,7 @@ void llvm::sys::PrintStackTrace(raw_ostream &OS, int Depth) {
OS << "Stack dump without symbol names (ensure you have llvm-symbolizer in "
"your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point "
"to it):\n";
-#if HAVE_DLOPEN
+#if HAVE_DLOPEN && !defined(_AIX)
int width = 0;
for (int i = 0; i < depth; ++i) {
Dl_info dlinfo;
More information about the llvm-commits
mailing list