[all-commits] [llvm/llvm-project] a13212: [ELF][test] Test that thunks are processed before ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Apr 4 10:57:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a13212582a901beb57f9c041df68c7b34eef0524
      https://github.com/llvm/llvm-project/commit/a13212582a901beb57f9c041df68c7b34eef0524
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-04-04 (Sat, 04 Apr 2020)

  Changed paths:
    M lld/test/ELF/aarch64-thunk-script.s
    M lld/test/ELF/ppc32-long-thunk.s
    M lld/test/ELF/ppc64-long-branch.s

  Log Message:
  -----------
  [ELF][test] Test that thunks are processed before finalizeSynthetic(in.symTab)

finalizeSynthetic(in.symTab) calls sortSymTabSymbols() to order local
symbols before non-local symbols.

The newly added tests ensure that thunk symbols are added before
finalizeSynthetic(in.symTab), otherwise .symtab would be out of order.




More information about the All-commits mailing list