[all-commits] [llvm/llvm-project] 843498: [LLD][AArch64] Add test for missing AArch64 BTI th...

Peter Smith via All-commits all-commits at lists.llvm.org
Tue Nov 19 02:49:23 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 843498d4545b86fbd9c5b83d28bd39a22df52ef4
      https://github.com/llvm/llvm-project/commit/843498d4545b86fbd9c5b83d28bd39a22df52ef4
  Author: Peter Smith <peter.smith at arm.com>
  Date:   2024-11-19 (Tue, 19 Nov 2024)

  Changed paths:
    A lld/test/ELF/aarch64-thunk-bti-multipass.s
    M lld/test/ELF/aarch64-thunk-bti.s

  Log Message:
  -----------
  [LLD][AArch64] Add test for missing AArch64 BTI thunk (#116665)

A follow up to PR #116402 to add a regression test. The original change
fixed the reproducer but that was not suitable to use as a regression
test.

This test case will fail with a LLD prior to #116402.

The disassembly for the thunk that starts as a short thunk but is later
a long thunk isn't quite right. It is missing a $d mapping symbol. I
think this can be fixed, but I've not done that in this patch to keep it
test only. It is not a regression introduced in #116402.

I've also removed a spurious --threads=1 I noticed in the original test
aarch64-thunk-bti.s



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list