[all-commits] [llvm/llvm-project] 147796: [lld][macho]Fix test to sort symbol table before d...

Vy Nguyen via All-commits all-commits at lists.llvm.org
Mon Apr 11 09:01:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 14779644133dd2d71a59ea66b4093401d874113d
      https://github.com/llvm/llvm-project/commit/14779644133dd2d71a59ea66b4093401d874113d
  Author: Vy Nguyen <vyng at google.com>
  Date:   2022-04-11 (Mon, 11 Apr 2022)

  Changed paths:
    M lld/test/MachO/symtab.s

  Log Message:
  -----------
  [lld][macho]Fix test to sort symbol table before dumping

Details: The test previously expected a specific order of those symbols, which is not guaranteed (could change simply due to hashing changes, etc).
So we change it to explicitly sort the symbols before checking contents.

PR/53026

Differential Revision: https://reviews.llvm.org/D116813




More information about the All-commits mailing list