llvm-readobj: add test for r219228
authorRui Ueyama <ruiu@google.com>
Wed, 8 Oct 2014 02:06:11 +0000 (02:06 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 8 Oct 2014 02:06:11 +0000 (02:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219274 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/llvm-readobj/Inputs/directives.obj.coff-x86_64 [new file with mode: 0644]
test/tools/llvm-readobj/coff-directives.test [new file with mode: 0644]

diff --git a/test/tools/llvm-readobj/Inputs/directives.obj.coff-x86_64 b/test/tools/llvm-readobj/Inputs/directives.obj.coff-x86_64
new file mode 100644 (file)
index 0000000..4c156dc
Binary files /dev/null and b/test/tools/llvm-readobj/Inputs/directives.obj.coff-x86_64 differ
diff --git a/test/tools/llvm-readobj/coff-directives.test b/test/tools/llvm-readobj/coff-directives.test
new file mode 100644 (file)
index 0000000..83efffc
--- /dev/null
@@ -0,0 +1,2 @@
+RUN: llvm-readobj -coff-directives %p/Inputs/directives.obj.coff-x86_64 | FileCheck %s
+CHECK: Directive(s): /DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES"