When asan reports bugs related to globals, it shows the name of the global
variable and the name of the module where it is defined.
But not the line number.
Today in clang the line number is available only with -g in the debug info
metadata. But we need to provide the line number w/o -g,
at least with -gline-tables-only, but preferably w/o any -g* flag.
Alexey, does this look similar to the other work you are planing to do with the
debug info?
Once the LLVM pass knows the line number for the global we'll need to
extent the __asan_global structure to contain the line number (and bump
the ABI version).
Original issue reported on code.google.com by konstant...@gmail.com on 25 Apr 2014 at 9:28
Original issue reported on code.google.com by
konstant...@gmail.com
on 25 Apr 2014 at 9:28