[PATCH] D80402: [NFC][XCOFF][AIX] Return function entry point symbol with dedicate function
Hubert Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 26 13:05:41 PDT 2020
hubert.reinterpretcast added inline comments.
================
Comment at: llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp:2152
+ SmallString<128> NameStr;
+ getNameWithPrefix(NameStr, F, TM);
+ return getContext().getOrCreateSymbol("." + NameStr);
----------------
I think `getNameWithPrefix` appends, meaning that `NameStr.push_back('.')` before calling it will do what we need without using `operator+` below.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80402/new/
https://reviews.llvm.org/D80402
More information about the llvm-commits
mailing list