[llvm] [Transforms][IPO] Add func suffix in ArgumentPromotion and DeadArgume… (PR #105742)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 27 01:00:44 PDT 2024
efriedma-quic wrote:
> > If the name is using C++ mangling, does the demangler produce something reasonable? If not, can we modify the name in a demangler-friendly way?
> I am not sure about this as my context is linux kernel which is C based. How do I know demangler produce something reasonable?
Take a small C++ function that gets optimized, run the resulting symbol through c++filt, see what you get.
>> If you try to set a breakpoint on a function, how will a debugger react to the changed name?
> Again, good question. But gcc already have functions like .constprop., .isra.. Do gdb/lldb handle those functions?
I think maybe we end up doing a wildcard search that finds them? Not sure.
https://github.com/llvm/llvm-project/pull/105742
More information about the llvm-commits
mailing list