Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/ARM/standalone/GCexternList/GCexternList.test
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ RUN: %link %linkopts -march arm %t1.o %tlib.a --entry main -o %t.out --extern-li
RUN: %nm -n %t.out | %filecheck %s

#CHECK: U externSym
#CHECK:00000014 T foo
#CHECK: T foo

2 changes: 1 addition & 1 deletion test/ARM/standalone/LTO/Map/Archive/mapfileltoarchive.test
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN: %link %linkopts -march arm -flto-options=codegen="-Os -relocation-model=sta
#CHECK: common_array 0x50 {{[ -\(\)_A-Za-z0-9.~\\/:]+}}main.o
#CHECK: Linker Script and memory map
#CHECK: SKIPPED {{[ -\(\)_A-Za-z0-9.\\/:]+}}main.o (ELF)
#CHECK: .text 0x0 {{[0-9a-fx]+}}
#CHECK: .text {{[0-9a-fx]+}} {{[0-9a-fx]+}}
#CHECK: .text {{[0-9a-fx]+}} {{[0-9a-fx]+}} {{[ -\(\)_A-Za-z0-9.~\\/:]+}}main.o
#CHECK: {{[0-9a-fx]+}} main
#CHECK: .text.foo {{[0-9a-fx]+}} {{[0-9a-fx]+}} {{[ -\(\)_A-Za-z0-9.~\\/:]+}}lto
Expand Down
2 changes: 1 addition & 1 deletion test/ARM/standalone/Map/Archive/mapfilearchive.test
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN: %link %linkopts -march arm %t1.main.o %t1.library.a -M -o %t2.out 2>&1 | %f
#CHECK: Common symbol size file
#CHECK: common_array 0x50 {{[ -\(\)_A-Za-z0-9.\\/:]+}}main.o
#CHECK: Linker Script and memory map
#CHECK: .text 0x0 {{[0-9a-fx]+}}
#CHECK: .text {{[0-9a-fx]+}} {{[0-9a-fx]+}}
#CHECK: .text {{[0-9a-fx]+}} {{[0-9a-fx]+}} {{[ -\(\)_A-Za-z0-9.\\/:]+}}main.o
#CHECK: {{[0-9a-fx]+}} main
#CHECK: .text {{[0-9a-fx]+}} {{[0-9a-fx]+}} {{[ -\(\)_A-Za-z0-9.\\/:]+}}foo.o
Expand Down
2 changes: 1 addition & 1 deletion test/ARM/standalone/Map/Objects/mapfileonlyobjects.test
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN: %link %linkopts -march arm %t1.main.o %t1.foo.o -M -o %t2.out 2>&1 | %filec
#CHECK: Common symbol size file
#CHECK: common_array 0x50 {{[ -\(\)_A-Za-z0-9.\\/:]+}}main.o
#CHECK: Linker Script and memory map
#CHECK: .text 0x0 {{[0-9a-fx]+}}
#CHECK: .text {{[0-9a-fx]+}} {{[0-9a-fx]+}}
#CHECK: .text {{[0-9a-fx]+}} {{[0-9a-fx]+}} {{[ -\(\)_A-Za-z0-9.\\/:]+}}main.o
#CHECK: {{[0-9a-fx]+}} main
#CHECK: .text {{[0-9a-fx]+}} {{[0-9a-fx]+}} {{[ -\(\)_A-Za-z0-9.\\/:]+}}foo.o
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN: %link %linkopts -march arm %t1.main.o --whole-archive %t1.library.a -M -o %
#CHECK: Common symbol size file
#CHECK: common_array 0x50 {{[ -\(\)_A-Za-z0-9.\\/:]+}}main.o
#CHECK: Linker Script and memory map
#CHECK: .text 0x0 {{[0-9a-fx]+}}
#CHECK: .text {{[0-9a-fx]+}} {{[0-9a-fx]+}}
#CHECK: .text {{[0-9a-fx]+}} {{[0-9a-fx]+}} {{[ -\(\)_A-Za-z0-9.\\/:]+}}main.o
#CHECK: {{[0-9a-fx]+}} main
#CHECK: .text {{[0-9a-fx]+}} {{[0-9a-fx]+}} {{[ -\(\)_A-Za-z0-9.\\/:]+}}foo.o
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#END_COMMENT
#START_TEST
RUN: %clang -c %p/Inputs/x.s -o %t1.1.o
RUN: %link %linkopts -march arm %t1.1.o --defsym arm_callee1=1 -o %t2.out
RUN: %link %linkopts -march arm %t1.1.o --defsym arm_callee1=1 -o %t2.out --image-base 0x0
RUN: %objdump -d %t2.out | %filecheck %s

#CHECK: 0: f7ff bffe
Expand Down
4 changes: 2 additions & 2 deletions test/ARM/standalone/SymDefAddend/SymDefAddend.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
#END_COMMENT
#START_TEST
RUN: %clang -c %p/Inputs/x.s -o %t1.1.o
RUN: %link -march arm %t1.1.o --defsym arm_val=1 -o %t2.out
RUN: %link -march arm %t1.1.o --defsym arm_val=1 -o %t2.out --image-base 0x0
RUN: %objdump -s %t2.out | %filecheck %s

#CHECK: Contents of section .data:
#CHECK-NEXT: 0000 02000000
#CHECK-NEXT: {{[0-9a-fA-F]+}} 02000000
Comment thread
partaror marked this conversation as resolved.
#END_TEST

Loading