diff options
author | Nico Weber <nicolasweber@gmx.de> | 2019-04-20 23:59:06 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2019-04-20 23:59:06 +0000 |
commit | 8eeaf5178dfda82b51766ea106febd7f563bc08f (patch) | |
tree | 0dae3af91f1a7c07f2cc6bf05cd6aeffbe1ced72 /llvm/lib/ExecutionEngine/JITLink/JITLink_EHFrameSupport.cpp | |
parent | f2654b638d534ae6025dfe87484c0b5bdde4c6f8 (diff) | |
download | bcm5719-llvm-8eeaf5178dfda82b51766ea106febd7f563bc08f.tar.gz bcm5719-llvm-8eeaf5178dfda82b51766ea106febd7f563bc08f.zip |
llvm-undname: Improve string literal demangling with embedded \0 chars
- Don't assert when a string looks like a u32 string to the heuristic
but doesn't have a length that's 0 mod 4. Instead, classify those
as u16 with embedded \0 chars. Found by oss-fuzz.
- Print embedded nul bytes as \0 instead of \x00.
llvm-svn: 358835
Diffstat (limited to 'llvm/lib/ExecutionEngine/JITLink/JITLink_EHFrameSupport.cpp')
0 files changed, 0 insertions, 0 deletions