[PATCH] D132390: [MCContext] Reverse order of DebugPrefixMap sort for generated assembly debug info

Dan McGregor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 29 18:12:51 PDT 2022


dankm added a comment.

Is it possible to get this into 15? Or do we need to wait for 16 at this point?



================
Comment at: llvm/include/llvm/MC/MCContext.h:193
   /// Prefix replacement map for source file information.
-  std::map<const std::string, const std::string> DebugPrefixMap;
+  std::map<std::string, const std::string, std::greater<std::string>>
+      DebugPrefixMap;
----------------
What happened to the const qualifier here?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132390/new/

https://reviews.llvm.org/D132390



More information about the llvm-commits mailing list