Issue |
138044
|
Summary |
ubsanitizer does not respect file-prefix-map in messages
|
Labels |
new issue
|
Assignees |
|
Reporter |
apache-hb
|
When compiling with `-fsanitize=undefined` the error messages do not reflect `-ffile-prefix-map`.
[reproducer](https://godbolt.org/z/fPE6cnveh)
```
where am i? '/beep/example.cpp'
/app/example.cpp:14:5: runtime error: store to null pointer of type 'int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /app/example.cpp:14:5
```
lines 2 and 3 should contain `/beep/example.cpp` rather than `/app/example.cpp`
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs