Skip to content

Commit fa1dd5f

Browse files
committed
[AIX] Disable cfi-version test on AIX
`.debug_frame` is not emitted on AIX, so this patch disables the test. Reviewed By: shchenz, jsji Differential Revision: https://reviews.llvm.org/D112593
1 parent 24685aa commit fa1dd5f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

llvm/test/MC/ELF/cfi-version.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
; PR46647
77
; XFAIL: arm64-apple
88

9-
; .debug_frame is not emitted for targeting Windows x64 or arm64.
9+
; .debug_frame is not emitted for targeting Windows x64, arm64, or AIX.
1010
; REQUIRES: debug_frame
1111
; REQUIRES: default_triple
1212

llvm/test/lit.cfg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@ def have_ld64_plugin_support():
381381
if 'hw.optional.fma: 1' in result:
382382
config.available_features.add('fma3')
383383

384-
# .debug_frame is not emitted for targeting Windows x64 or arm64.
385-
if not re.match(r'^(x86_64|arm64).*-(windows-gnu|windows-msvc)', config.target_triple):
384+
# .debug_frame is not emitted for targeting Windows x64, arm64, or AIX.
385+
if not re.match(r'^(x86_64|arm64|powerpc|powerpc64).*-(windows-gnu|windows-msvc|aix)', config.target_triple):
386386
config.available_features.add('debug_frame')
387387

388388
if config.have_libxar:

0 commit comments

Comments
 (0)