[all-commits] [llvm/llvm-project] 0359ac: [ELF, test] Add eh-frame-nonzero-offset-riscv.s for...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Jan 7 16:03:07 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0359acf0f5f04da184386c886d56ee45db7b7be0
      https://github.com/llvm/llvm-project/commit/0359acf0f5f04da184386c886d56ee45db7b7be0
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-01-07 (Sun, 07 Jan 2024)

  Changed paths:
    A lld/test/ELF/eh-frame-nonzero-offset-riscv.s

  Log Message:
  -----------
  [ELF,test] Add eh-frame-nonzero-offset-riscv.s for #65966

I plan to define RISCV::relocateAllocate in a subsequent change.
Add a test to verify
`else if (auto *ehIn = dyn_cast<EhInputSection>(&sec)) secAddr += ehIn->getParent()->outSecOff;`




More information about the All-commits mailing list