This patch adds tests for dumping the .debug_line_str section. The
dumper of the debug_line_str section is able to write nonprintable
strings as escaped chars while the dumper of the debug_str and
debug_str.dwo sections cannot. I will fix them and add tests for them
in a follow-up patch.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
It sounds to me like the .debug_line_str should be using the same dumper as the .debug_str and .debug_str.dwo dumpers. There's no difference in the section format as far as I'm aware.
llvm/test/tools/llvm-dwarfdump/debug-line-str.yaml | ||
---|---|---|
4 | I'd put this comment above the RUN line. Same below. | |
23 | ||
26 | It might be clearer if this comment was divided into individual characters. It took me several attempts to figure it out. (Maybe do '\t', '\0', '\001', '\\', '0', '0', '1') |
I'd put this comment above the RUN line. Same below.