[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


https://github.com/apolloww commented:

While reviewing the code, I spot following 

https://github.com/llvm/llvm-project/blob/aa332ae6b0c9acbb01bbaf28668847c2aab0510a/llvm/include/llvm/ProfileData/SampleProf.h#L1306

The vector is initialized with 4 elements, but has size of 3. It could trigger realloc. Could you also update it here?

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


More information about the llvm-commits mailing list