[llvm] [CGProfile] Fix unhandled error crash on empty canonical function names (PR #201821)
Arseniy Obolenskiy via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 3 22:59:33 PDT 2026
================
@@ -0,0 +1,10 @@
+; RUN: opt < %s -passes='cg-profile' -S | FileCheck %s
+
+; A function whose entire name is a strippable suffix (e.g. ".llvm.123")
+; canonicalizes to an empty name. Building the InstrProfSymtab
+; for such a name returns an error that cg-profile intentionally ignores.
----------------
aobolensk wrote:
That's true. Removed this sentence from the comment
https://github.com/llvm/llvm-project/pull/201821
More information about the llvm-commits
mailing list