[PATCH] D118282: [BOLT][TEST] Adjust tests for BOLT_CLANG_EXE=clang-{6..9}
Amir Ayupov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 26 17:13:01 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5c238be04bf6: [BOLT][TEST] Adjust tests for BOLT_CLANG_EXE=clang-{6..9} (authored by Amir).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118282/new/
https://reviews.llvm.org/D118282
Files:
bolt/test/X86/asm-func-debug.test
bolt/test/X86/symtab-secondary-entries.test
Index: bolt/test/X86/symtab-secondary-entries.test
===================================================================
--- bolt/test/X86/symtab-secondary-entries.test
+++ bolt/test/X86/symtab-secondary-entries.test
@@ -1,6 +1,8 @@
# Check that secondary entry points are updated correctly in the ELF symtab
-RUN: %clang %p/Inputs/user-order.S -Wl,-q -o %t.exe -nostdlib
+RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown \
+RUN: %p/Inputs/user-order.S -o %t.o
+RUN: ld.lld %t.o --emit-relocs --nostdlib -o %t.exe
RUN: llvm-bolt %t.exe -o %t -reorder-functions=user \
RUN: -function-order=%p/Inputs/order.txt
Index: bolt/test/X86/asm-func-debug.test
===================================================================
--- bolt/test/X86/asm-func-debug.test
+++ bolt/test/X86/asm-func-debug.test
@@ -14,7 +14,7 @@
CHECK-NEXT: DW_AT_ranges
CHECK-NEXT: [0x0000000000[[#%x,ADDR:]],
CHECK-SAME: 0x0000000000[[#ADDR+1]]))
-CHECK-NEXT: DW_AT_name ("{{.*}}/asm_foo.s")
+CHECK-NEXT: DW_AT_name ("{{.*}}asm_foo.s")
# Check .debug_aranges was updated for asm module
CHECK: .debug_aranges contents:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118282.403447.patch
Type: text/x-patch
Size: 1167 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220127/a4787088/attachment.bin>
More information about the llvm-commits
mailing list