diff --git a/llvm/test/tools/llvm-dwp/X86/info-v5.s b/llvm/test/tools/llvm-dwp/X86/info-v5.s index fd482cf493b0e..21fa22793a833 100644 --- a/llvm/test/tools/llvm-dwp/X86/info-v5.s +++ b/llvm/test/tools/llvm-dwp/X86/info-v5.s @@ -1,6 +1,6 @@ # this checks llvm-dwp handling of DWARFv5 Info section header. -# RUN: llvm-mc --filetype=obj --split-dwarf-file=%t.dwo -dwarf-version=5 %s -o %t.o +# RUN: llvm-mc --triple=x86_64-unknown-linux --filetype=obj --split-dwarf-file=%t.dwo -dwarf-version=5 %s -o %t.o # RUN: llvm-dwp %t.dwo -o %t.dwp # RUN: llvm-dwarfdump -v %t.dwp | FileCheck %s diff --git a/llvm/test/tools/llvm-dwp/X86/wrong-unit-type-info-v5.s b/llvm/test/tools/llvm-dwp/X86/wrong-unit-type-info-v5.s index 29ed20bd19154..fbcdc36da0549 100644 --- a/llvm/test/tools/llvm-dwp/X86/wrong-unit-type-info-v5.s +++ b/llvm/test/tools/llvm-dwp/X86/wrong-unit-type-info-v5.s @@ -1,4 +1,4 @@ -# RUN: llvm-mc --filetype=obj --split-dwarf-file=%t.dwo -dwarf-version=5 %s -o %t.o +# RUN: llvm-mc --triple=x86_64-unknown-linux --filetype=obj --split-dwarf-file=%t.dwo -dwarf-version=5 %s -o %t.o # RUN: not llvm-dwp %t.dwo -o /dev/null 2>&1 | FileCheck %s # CHECK: error: {{.*}}: unit type DW_UT_split_compile type not found in debug_info header. Unexpected unit type 0x12 found