[PATCH] D136655: [BOLT] Add mold-style PLT support
Vladislav Khmelevsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 24 23:30:30 PDT 2022
yota9 added inline comments.
================
Comment at: bolt/test/X86/plt-mold.test:6
+## The only call instruction in main() should be a call to printf() in PLT.
+CHECK: callq "printf$plt
----------------
maksfb wrote:
> yota9 wrote:
> > May I ask why it is "printf$plt and not printf at PLT? Is there a typo?
> That’s the symbol mold creates at the moment. It also has local visibility.
Oh, it is part of the symbol name, interesting. I was thinking about the addend we add with @PLT. Thanks
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136655/new/
https://reviews.llvm.org/D136655
More information about the llvm-commits
mailing list