summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorPetar Jovanovic <petar.jovanovic@mips.com>2019-03-07 16:31:08 +0000
committerPetar Jovanovic <petar.jovanovic@mips.com>2019-03-07 16:31:08 +0000
commit95817d364104f6aa754af7e7034540b5a62eb2c2 (patch)
tree0ab808ba348053fdf4c9a0d92c324581dab73229 /llvm/test
parent94049554166ce3243f19c59240074d0000151e38 (diff)
downloadbcm5719-llvm-95817d364104f6aa754af7e7034540b5a62eb2c2.tar.gz
bcm5719-llvm-95817d364104f6aa754af7e7034540b5a62eb2c2.zip
[DebugInfo] Fix the type of the formated variable
Change the format type of *Personality and *LSDAAddress to PRIx64 since they are of type uint64_t. The problem was detected on mips builds, where it was printing junk values and causing test failure. Patch by Milos Stojanovic. Differential Revision: https://reviews.llvm.org/D58451 llvm-svn: 355607
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/tools/llvm-objdump/eh_frame-coff.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/tools/llvm-objdump/eh_frame-coff.test b/llvm/test/tools/llvm-objdump/eh_frame-coff.test
index 74eceeec4f3..cb481939dcc 100644
--- a/llvm/test/tools/llvm-objdump/eh_frame-coff.test
+++ b/llvm/test/tools/llvm-objdump/eh_frame-coff.test
@@ -8,7 +8,7 @@
# CHECK: Code alignment factor: 1
# CHECK: Data alignment factor: -4
# CHECK: Return address column: 8
-# CHECK: Personality Address: 004025d7
+# CHECK: Personality Address: 00000000004025d7
# CHECK: Augmentation data: 00 D7 25 40 00 00 00
# CHECK: DW_CFA_def_cfa: reg4 +4
@@ -17,7 +17,7 @@
# CHECK: DW_CFA_nop:
# CHECK: 00000020 0000001c 00000024 FDE cie=00000024 pc=00401410...00401488
-# CHECK: LSDA Address: 00406000
+# CHECK: LSDA Address: 0000000000406000
# CHECK: DW_CFA_advance_loc: 1
# CHECK: DW_CFA_def_cfa_offset: +8
# CHECK: DW_CFA_offset: reg5 -8
OpenPOWER on IntegriCloud