diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2015-06-04 23:40:23 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2015-06-04 23:40:23 +0000 |
commit | 24558d55200186d4ca9edbc9538941df0ba735eb (patch) | |
tree | 91056d45c03b0f7ffdc7232a1d0aa22e704e84a8 /llvm/test/DebugInfo/Inputs | |
parent | 8230e5ee51ed2a37d1339fa7c608f7ba5c5ed5c7 (diff) | |
download | bcm5719-llvm-24558d55200186d4ca9edbc9538941df0ba735eb.tar.gz bcm5719-llvm-24558d55200186d4ca9edbc9538941df0ba735eb.zip |
[Object, ELF] Fix segmentation fault in ELFFile::getSectionName().
Don't do a null dereference if .shstrtab section is missing.
llvm-svn: 239124
Diffstat (limited to 'llvm/test/DebugInfo/Inputs')
-rw-r--r-- | llvm/test/DebugInfo/Inputs/invalid.elf.no-shstrtab | bin | 0 -> 52 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/Inputs/invalid.elf.no-shstrtab b/llvm/test/DebugInfo/Inputs/invalid.elf.no-shstrtab Binary files differnew file mode 100644 index 00000000000..e5996951fb1 --- /dev/null +++ b/llvm/test/DebugInfo/Inputs/invalid.elf.no-shstrtab |