[llvm] [llvm-profgen] Strip coroutine suffixes from DWARF info (PR #217980)

Wei Wang via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 27 15:54:53 PDT 2026


================
@@ -615,7 +615,7 @@ class ProfiledBinary {
   SampleContextFrameVector
   getFrameLocationStack(uint64_t Address, bool UseProbeDiscriminator = false) {
     InstructionPointer IP(this, Address);
-    return symbolize(IP, SymbolizerOpts.UseSymbolTable, UseProbeDiscriminator);
+    return symbolize(IP, /*UseCanonicalFnName*/ true, UseProbeDiscriminator);
----------------
apolloww wrote:

This may cause some regression as pointed out in https://reviews.llvm.org/D151441 and may be more now since there are more suffixes to match. `symbolize` runs on every instruction.

https://github.com/llvm/llvm-project/pull/217980


More information about the llvm-commits mailing list