Issue |
131904
|
Summary |
Add an option to llvm-strip to emit a JSON symbol file.
|
Labels |
tools:llvm-objcopy/strip
|
Assignees |
|
Reporter |
JDevlieghere
|
LLDB supports a [JSON symbol file format](https://lldb.llvm.org/use/symbolfilejson.html) that, amongst other things, can be used to symbolicate stripped binaries. This was part of the [original motivation](https://reviews.llvm.org/D145180) and how it's [being tested](https://github.com/llvm/llvm-project/blob/main/lldb/test/API/functionalities/json/symbol-file/TestSymbolFileJSON.py) in LLDB.
It would be nice to add an option to llvm-strip to generate these files, so they can be archived and used when debugging strip binaries for which the full debug information isn't available. I've had this on my mind since creating the format but haven't gotten around to it, so creating this issue to keep track of it or have a reference in case anyone else would like to add this functionality before I'm able to get to it.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs