diff options
author | Sayhaan Siddiqui <49014204+sayhaan@users.noreply.github.com> | 2024-07-15 23:03:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-15 23:03:43 -0700 |
commit | e140a8a3c83017c998a0dacbf9d128918852b429 (patch) | |
tree | 426457d88990385507570ba8637fa195b9492f25 /bolt/test | |
parent | 8618c86ee2cc518ccc6b753179c40f68ba5218a8 (diff) | |
download | llvm-e140a8a3c83017c998a0dacbf9d128918852b429.zip llvm-e140a8a3c83017c998a0dacbf9d128918852b429.tar.gz llvm-e140a8a3c83017c998a0dacbf9d128918852b429.tar.bz2 |
[BOLT][DWARF][NFC] Refactor address writers (#98094)
Refactors address writers to create an instance for each CU and its DWO
CU.
Diffstat (limited to 'bolt/test')
-rw-r--r-- | bolt/test/X86/dwarf5-addr-section-reuse.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bolt/test/X86/dwarf5-addr-section-reuse.s b/bolt/test/X86/dwarf5-addr-section-reuse.s index 6b00ce0..cf511d6 100644 --- a/bolt/test/X86/dwarf5-addr-section-reuse.s +++ b/bolt/test/X86/dwarf5-addr-section-reuse.s @@ -1,7 +1,7 @@ # RUN: llvm-mc -dwarf-version=5 -filetype=obj -triple x86_64-unknown-linux %p/Inputs/dwarf5-main-addr-section-reuse.s -o %tmain.o # RUN: llvm-mc -dwarf-version=5 -filetype=obj -triple x86_64-unknown-linux %p/Inputs/dwarf5-helper1-addr-section-reuse.s -o %thelper1.o # RUN: llvm-mc -dwarf-version=5 -filetype=obj -triple x86_64-unknown-linux %p/Inputs/dwarf5-helper2-addr-section-reuse.s -o %thelper2.o -# RUN: %clang %cflags -dwarf-5 %tmain.o %thelper1.o %thelper2.o -o %t.exe -Wl,-q +# RUN: %clang %cflags -dwarf-5 %thelper1.o %tmain.o %thelper2.o -o %t.exe -Wl,-q # RUN: llvm-dwarfdump --debug-info %t.exe | FileCheck --check-prefix=PRECHECK %s # RUN: llvm-bolt %t.exe -o %t.exe.bolt --update-debug-sections # RUN: llvm-dwarfdump --debug-info %t.exe.bolt | FileCheck --check-prefix=POSTCHECK %s @@ -14,5 +14,5 @@ # PRECHECK: DW_AT_addr_base (0x00000008) # POSTCHECK: DW_AT_addr_base (0x00000008) -# POSTCHECK: DW_AT_addr_base (0x00000020) -# POSTCHECK: DW_AT_addr_base (0x00000020) +# POSTCHECK: DW_AT_addr_base (0x00000018) +# POSTCHECK: DW_AT_addr_base (0x00000008) |