aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-06-22 20:57:39 +0000
committerZachary Turner <zturner@google.com>2017-06-22 20:57:39 +0000
commit56cd0435f7b1f7bc41711c87ac4e4663883b7810 (patch)
tree870734588db942141638556e0d2b6142dc073d87
parent8fbdd7a972ead7d04e2d37c43480c31c42061568 (diff)
[llvm-pdbutil] Rename "raw" to "dump".
Now you run llvm-pdbutil dump <options>. This is a followup after having renamed the tool, whereas before raw was obviously just the style of dumping, whereas now "dump" is the action to perform with the "util". git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@306055 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/COFF/pdb-comdat.test4
-rw-r--r--test/COFF/pdb-lib.s2
-rw-r--r--test/COFF/pdb.test2
3 files changed, 4 insertions, 4 deletions
diff --git a/test/COFF/pdb-comdat.test b/test/COFF/pdb-comdat.test
index 1ccce3fef..769b630d0 100644
--- a/test/COFF/pdb-comdat.test
+++ b/test/COFF/pdb-comdat.test
@@ -26,7 +26,7 @@ RUN: rm -rf %t && mkdir -p %t && cd %t
RUN: yaml2obj %S/Inputs/pdb_comdat_main.yaml -o pdb_comdat_main.obj
RUN: yaml2obj %S/Inputs/pdb_comdat_bar.yaml -o pdb_comdat_bar.obj
RUN: lld-link pdb_comdat_main.obj pdb_comdat_bar.obj -out:t.exe -debug -pdb:t.pdb -nodefaultlib -entry:main
-RUN: llvm-pdbutil raw -l -symbols t.pdb | FileCheck %s
+RUN: llvm-pdbutil dump -l -symbols t.pdb | FileCheck %s
CHECK: Lines
CHECK: ============================================================
@@ -89,7 +89,7 @@ CHECK-LABEL: Mod 0002 | `* Linker *`:
Reorder the object files and verify that the other table is selected.
RUN: lld-link pdb_comdat_bar.obj pdb_comdat_main.obj -out:t.exe -debug -pdb:t.pdb -nodefaultlib -entry:main
-RUN: llvm-pdbutil raw -l t.pdb | FileCheck %s --check-prefix=REORDER
+RUN: llvm-pdbutil dump -l t.pdb | FileCheck %s --check-prefix=REORDER
REORDER-LABEL: Mod 0000 | `{{.*}}pdb_comdat_bar.obj`:
REORDER: c:\src\llvm-project\build\pdb_comdat_bar.c (MD5: 365279DB4FCBEDD721BBFC3B14A953C2)
diff --git a/test/COFF/pdb-lib.s b/test/COFF/pdb-lib.s
index 073c6f08a..47375cc26 100644
--- a/test/COFF/pdb-lib.s
+++ b/test/COFF/pdb-lib.s
@@ -3,7 +3,7 @@
# RUN: llc %S/Inputs/bar.ll -filetype=obj -mtriple=i686-windows-msvc -o bar.obj
# RUN: llvm-lib bar.obj -out:bar.lib
# RUN: lld-link -debug -pdb:foo.pdb foo.obj bar.lib -out:foo.exe -entry:main
-# RUN: llvm-pdbutil raw -modules %t/foo.pdb | FileCheck %s
+# RUN: llvm-pdbutil dump -modules %t/foo.pdb | FileCheck %s
# Make sure that the PDB has module descriptors. foo.obj and bar.lib should be
# absolute paths, and bar.obj should be the relative path passed to llvm-lib.
diff --git a/test/COFF/pdb.test b/test/COFF/pdb.test
index b407ac0d8..3acb7188d 100644
--- a/test/COFF/pdb.test
+++ b/test/COFF/pdb.test
@@ -6,7 +6,7 @@
# RUN: llvm-pdbutil pdb2yaml -stream-metadata -stream-directory -pdb-stream \
# RUN: -dbi-stream -ipi-stream -tpi-stream %t.pdb | FileCheck %s
-# RUN: llvm-pdbutil raw -modules -section-map -section-contribs \
+# RUN: llvm-pdbutil dump -modules -section-map -section-contribs \
# RUN: -types -ids %t.pdb | FileCheck -check-prefix RAW %s
# CHECK: MSF: