[compiler-rt] [compiler-rt] Fix frame numbering for unparsable frames. (PR #148278)
Thurston Dang via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 6 12:03:17 PDT 2025
thurstond wrote:
I was able to test your patch manually using the following testcase:
```
WRITE of size 4 at 0x7c18d1be0010 thread T0
#0 0x0000 (blahblahblah+0x0000)
#0 0x0000 (blahblahblah+0x0000)
#0 0x0000 (blahblahblah+0xf0000)
```
```
$ compiler-rt/lib/asan/scripts/asan_symbolize.py < testcase
WRITE of size 4 at 0x7c18d1be0010 thread T0
#0 0x0000 (blahblahblah+0x0000)
#0 0x0000 (blahblahblah+0x0000)
#0 0x0000 (blahblahblah+0xf0000)
```
```
$ /usr/bin/python3 compiler-rt/lib/asan/scripts/asan_symbolize-NEW.py < testcase
WRITE of size 4 at 0x7c18d1be0010 thread T0
#0 0x0000 (blahblahblah+0x0000)
#1 0x0000 (blahblahblah+0x0000)
#2 0x0000 (blahblahblah+0xf0000)
```
https://github.com/llvm/llvm-project/pull/148278
More information about the llvm-commits
mailing list