commit | def0c1f756562601829364e3fca4bd1f0407316e | [log] [tgz] |
---|---|---|
author | Michael J. Spencer <bigcheesegs@gmail.com> | Thu Feb 07 18:26:45 2013 +0000 |
committer | Michael J. Spencer <bigcheesegs@gmail.com> | Thu Feb 07 18:26:45 2013 +0000 |
tree | eb1d5cf469e8b9ddfeaabedeb89d96fdc9a8523c | |
parent | 64dca86fb4312669086ea8d2df1a13da76b54258 [diff] [blame] |
[Object][ELF] Fix crash on no dynamic section. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174639 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Object/readobj.test b/test/Object/readobj.test new file mode 100644 index 0000000..e29f404 --- /dev/null +++ b/test/Object/readobj.test
@@ -0,0 +1,2 @@ +// Don't crash while reading non-dynamic files. +RUN: llvm-readobj %p/Inputs/trivial-object-test.elf-x86-64