1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/DebugInfo
Xing GUO c01035ce25 [llvm-dwarfdump] Warn user when it encounters no null terminated strings.
When llvm-dwarfdump encounters no null terminated strings, we should
warn user about it rather than ignore it and print nothing.

Before this patch, when llvm-dwarfdump dumps a .debug_str section whose
content is "abc", it prints:

```
.debug_str contents:
```

After this patch:

```
.debug_str contents:
warning: no null terminated string at offset 0x0
```

Reviewed By: jhenderson, MaskRay

Differential Revision: https://reviews.llvm.org/D86998
2020-09-03 08:49:57 +08:00
..
CodeView
DWARF [llvm-dwarfdump] Warn user when it encounters no null terminated strings. 2020-09-03 08:49:57 +08:00
GSYM
MSF
PDB Revert "PDBExtras.h - remove unnecessary raw_ostream forward declaration. NFCI." 2020-08-06 15:15:43 +02:00
Symbolize
CMakeLists.txt
LLVMBuild.txt