summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/Inputs
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2015-06-04 23:40:23 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2015-06-04 23:40:23 +0000
commit24558d55200186d4ca9edbc9538941df0ba735eb (patch)
tree91056d45c03b0f7ffdc7232a1d0aa22e704e84a8 /llvm/test/DebugInfo/Inputs
parent8230e5ee51ed2a37d1339fa7c608f7ba5c5ed5c7 (diff)
downloadbcm5719-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-shstrtabbin0 -> 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
new file mode 100644
index 00000000000..e5996951fb1
--- /dev/null
+++ b/llvm/test/DebugInfo/Inputs/invalid.elf.no-shstrtab
Binary files differ
OpenPOWER on IntegriCloud