[PATCH] D135710: [lto] Do not try to internalize symbols with escaped name

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 14 10:48:09 PDT 2022


int3 accepted this revision.
int3 added a comment.

lgtm, thanks for doing this!



================
Comment at: llvm/lib/LTO/LTO.cpp:571
+    // In rare occasion, the symbol used to initialize GlobalRes has a different
+    // IRName from the inspected Symbol. This can happen on OSX when a symbol
+    // is referenced through its mangled name, say @"\01_symbol" while the
----------------
nit: technically this is macOS + iOS, not just OSX


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

https://reviews.llvm.org/D135710



More information about the llvm-commits mailing list