Skip to content

Commit

Permalink
[BOLT,test] Update AArch64/constant_island_pie_update.s after llvm-re…
Browse files Browse the repository at this point in the history
…adelf -r RELR change
  • Loading branch information
MaskRay committed Apr 19, 2024
1 parent 4523a26 commit d9169ff
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bolt/test/AArch64/constant_island_pie_update.s
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# RUN: llvm-objdump -j .text -d --show-all-symbols %t.relr.bolt | FileCheck %s
# RUN: llvm-objdump -j .text -d %t.relr.bolt | \
# RUN: FileCheck %s --check-prefix=ADDENDCHECK
# RUN: llvm-readelf -rsW %t.relr.bolt | FileCheck --check-prefix=ELFCHECK %s
# RUN: llvm-readelf -rsW %t.relr.bolt | FileCheck --check-prefix=RELRELFCHECK %s
# RUN: llvm-readelf -SW %t.relr.bolt | FileCheck --check-prefix=RELRSZCHECK %s

// Check that the CI value was updated
Expand Down Expand Up @@ -51,6 +51,12 @@
# ELFCHECK-NEXT: {{.*}} R_AARCH64_RELATIVE
# ELFCHECK: {{.*}}[[#OFF]] {{.*}} $d

# RELRELFCHECK: $d{{$}}
# RELRELFCHECK-NEXT: $d + 0x8{{$}}
# RELRELFCHECK-NEXT: $d + 0x18{{$}}
# RELRELFCHECK-NEXT: mytextP
# RELRELFCHECK-EMPTY:

// Check that .relr.dyn size is 2 bytes to ensure that last 3 relocations were
// encoded as a bitmap so the total section size for 3 relocations is 2 bytes.
# RELRSZCHECK: .relr.dyn RELR [[#%x,ADDR:]] [[#%x,OFF:]] {{0*}}10
Expand Down

0 comments on commit d9169ff

Please sign in to comment.