summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/Inputs
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2015-06-04 23:14:43 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2015-06-04 23:14:43 +0000
commit49179ddba4d6a5b0a768936da42a7694ddf0b780 (patch)
treef94dc94b177abfe587cb34aec9d533873934fd8e /llvm/test/DebugInfo/Inputs
parent00f7d9ecc8229b0dd36d362f82b4f09869d12e71 (diff)
downloadbcm5719-llvm-49179ddba4d6a5b0a768936da42a7694ddf0b780.tar.gz
bcm5719-llvm-49179ddba4d6a5b0a768936da42a7694ddf0b780.zip
[Object, ELF] Don't assert on invalid magic in createELFObjectFile.
Instead, return a proper error code from factory. llvm-svn: 239116
Diffstat (limited to 'llvm/test/DebugInfo/Inputs')
-rw-r--r--llvm/test/DebugInfo/Inputs/invalid.elf.31
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/Inputs/invalid.elf.3 b/llvm/test/DebugInfo/Inputs/invalid.elf.3
new file mode 100644
index 00000000000..f4944600004
--- /dev/null
+++ b/llvm/test/DebugInfo/Inputs/invalid.elf.3
@@ -0,0 +1 @@
+ELF‚Lþ'ELFB \ No newline at end of file
OpenPOWER on IntegriCloud