[all-commits] [llvm/llvm-project] 761d71: [MCContext] Reverse order of DebugPrefixMap sort f...

dankm via All-commits all-commits at lists.llvm.org
Mon Aug 29 23:56:59 PDT 2022


  Branch: refs/heads/release/15.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 761d71a489bf48144e5f37745e27e2e00e35dbc4
      https://github.com/llvm/llvm-project/commit/761d71a489bf48144e5f37745e27e2e00e35dbc4
  Author: Dan McGregor <dan.mcgregor at usask.ca>
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
    M llvm/include/llvm/MC/MCContext.h
    M llvm/test/MC/ELF/debug-prefix-map.s

  Log Message:
  -----------
  [MCContext] Reverse order of DebugPrefixMap sort for generated assembly debug info

Match Clang's sorting, so that longer (more specific) prefix paths will match
before less specific paths.

Reviewed By: MaskRay, raj.khem, #debug-info

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

(cherry picked from commit 3922ec46b84a877a9ac6ce4cfa765c4c847d097d)




More information about the All-commits mailing list