[PATCH] D122039: [BOLT] Fix plt relocations symbol match

Vladislav Khmelevsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 22 07:15:21 PDT 2022


yota9 marked 2 inline comments as done.
yota9 added inline comments.


================
Comment at: bolt/lib/Rewrite/RewriteInstance.cpp:1890
+      if ((!BD) && ((End = SymbolName.find("@")) != std::string::npos)) {
+        // The symbol might contain its versioning in name
+        SymbolName = SymbolName.substr(0, End);
----------------
Amir wrote:
> Can you please add an example of a full symbol name with versioning?
Sure


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122039



More information about the llvm-commits mailing list