aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorXing GUO <higuoxing@gmail.com>2020-09-03 08:49:51 +0800
committerXing GUO <higuoxing@gmail.com>2020-09-03 08:49:57 +0800
commit67ce11405b08609afb35e218ed7d28ef5e16a55f (patch)
tree90916b2c98ffdbbbc17381c48620f7bd0bfe1329 /llvm/lib/Support/VirtualFileSystem.cpp
parent232448238383866d0181f540426a6b6b9e12197d (diff)
downloadllvm-67ce11405b08609afb35e218ed7d28ef5e16a55f.zip
llvm-67ce11405b08609afb35e218ed7d28ef5e16a55f.tar.gz
llvm-67ce11405b08609afb35e218ed7d28ef5e16a55f.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions