diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2015-06-04 23:14:43 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2015-06-04 23:14:43 +0000 |
commit | 49179ddba4d6a5b0a768936da42a7694ddf0b780 (patch) | |
tree | f94dc94b177abfe587cb34aec9d533873934fd8e /llvm/test/DebugInfo/Inputs | |
parent | 00f7d9ecc8229b0dd36d362f82b4f09869d12e71 (diff) | |
download | bcm5719-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.3 | 1 |
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 |