From: David Blaikie Date: Mon, 7 Dec 2015 18:46:41 +0000 (+0000) Subject: [llvm-dwp] Restructure inputs for test case so they're all grouped together X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f8a6223dd008c680193a723e685acbe46ea61836;p=oota-llvm.git [llvm-dwp] Restructure inputs for test case so they're all grouped together git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254922 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/llvm-dwp/Inputs/simple/a.dwo b/test/tools/llvm-dwp/Inputs/simple/a.dwo deleted file mode 100644 index 7bdb2a7b9f8..00000000000 Binary files a/test/tools/llvm-dwp/Inputs/simple/a.dwo and /dev/null differ diff --git a/test/tools/llvm-dwp/Inputs/simple/b.dwo b/test/tools/llvm-dwp/Inputs/simple/b.dwo deleted file mode 100644 index f41243dc722..00000000000 Binary files a/test/tools/llvm-dwp/Inputs/simple/b.dwo and /dev/null differ diff --git a/test/tools/llvm-dwp/Inputs/simple/notypes/a.dwo b/test/tools/llvm-dwp/Inputs/simple/notypes/a.dwo new file mode 100644 index 00000000000..7bdb2a7b9f8 Binary files /dev/null and b/test/tools/llvm-dwp/Inputs/simple/notypes/a.dwo differ diff --git a/test/tools/llvm-dwp/Inputs/simple/notypes/b.dwo b/test/tools/llvm-dwp/Inputs/simple/notypes/b.dwo new file mode 100644 index 00000000000..f41243dc722 Binary files /dev/null and b/test/tools/llvm-dwp/Inputs/simple/notypes/b.dwo differ diff --git a/test/tools/llvm-dwp/Inputs/simple/types/a.dwo b/test/tools/llvm-dwp/Inputs/simple/types/a.dwo new file mode 100644 index 00000000000..1fc71ca8d17 Binary files /dev/null and b/test/tools/llvm-dwp/Inputs/simple/types/a.dwo differ diff --git a/test/tools/llvm-dwp/Inputs/simple/types/b.dwo b/test/tools/llvm-dwp/Inputs/simple/types/b.dwo new file mode 100644 index 00000000000..a69cd69eb99 Binary files /dev/null and b/test/tools/llvm-dwp/Inputs/simple/types/b.dwo differ diff --git a/test/tools/llvm-dwp/Inputs/type_units/a.dwo b/test/tools/llvm-dwp/Inputs/type_units/a.dwo deleted file mode 100644 index 1fc71ca8d17..00000000000 Binary files a/test/tools/llvm-dwp/Inputs/type_units/a.dwo and /dev/null differ diff --git a/test/tools/llvm-dwp/Inputs/type_units/b.dwo b/test/tools/llvm-dwp/Inputs/type_units/b.dwo deleted file mode 100644 index a69cd69eb99..00000000000 Binary files a/test/tools/llvm-dwp/Inputs/type_units/b.dwo and /dev/null differ diff --git a/test/tools/llvm-dwp/X86/simple.test b/test/tools/llvm-dwp/X86/simple.test index 962e270a594..d7365c81443 100644 --- a/test/tools/llvm-dwp/X86/simple.test +++ b/test/tools/llvm-dwp/X86/simple.test @@ -1,7 +1,7 @@ -RUN: llvm-dwp %p/../Inputs/simple/a.dwo %p/../Inputs/simple/b.dwo -o %t +RUN: llvm-dwp %p/../Inputs/simple/notypes/a.dwo %p/../Inputs/simple/notypes/b.dwo -o %t RUN: llvm-dwarfdump %t | FileCheck --check-prefix=CHECK --check-prefix=NOTYP %s RUN: llvm-objdump -h %t | FileCheck --check-prefix=NOTYPOBJ %s -RUN: llvm-dwp %p/../Inputs/type_units/a.dwo %p/../Inputs/type_units/b.dwo -o %t +RUN: llvm-dwp %p/../Inputs/simple/types/a.dwo %p/../Inputs/simple/types/b.dwo -o %t RUN: llvm-dwarfdump %t | FileCheck --check-prefix=CHECK --check-prefix=TYPES %s FIXME: For some reason, piping straight from llvm-dwp to llvm-dwarfdump doesn't behave well - looks like dwarfdump is reading/closes before dwp has finished.