[llvm] r193711 - Add DebugInfo testcase for high_pc encoded as constant, fixed in r193555.

Will Dietz wdietz2 at illinois.edu
Wed Oct 30 13:27:18 PDT 2013


Author: wdietz2
Date: Wed Oct 30 15:27:17 2013
New Revision: 193711

URL: http://llvm.org/viewvc/llvm-project?rev=193711&view=rev
Log:
Add DebugInfo testcase for high_pc encoded as constant, fixed in r193555.

Added:
    llvm/trunk/test/DebugInfo/Inputs/dwarfdump-inl-test.high_pc.elf-x86-64   (with props)
Modified:
    llvm/trunk/test/DebugInfo/Inputs/dwarfdump-inl-test.cc
    llvm/trunk/test/DebugInfo/llvm-symbolizer.test

Modified: llvm/trunk/test/DebugInfo/Inputs/dwarfdump-inl-test.cc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/Inputs/dwarfdump-inl-test.cc?rev=193711&r1=193710&r2=193711&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/Inputs/dwarfdump-inl-test.cc (original)
+++ llvm/trunk/test/DebugInfo/Inputs/dwarfdump-inl-test.cc Wed Oct 30 15:27:17 2013
@@ -13,3 +13,6 @@ int main() {
 // $ cp dwarfdump-inl-test.* /tmp/dbginfo
 // $ cd /tmp/dbginfo
 // $ clang++ -O2 -gline-tables-only -fsanitize=address -fPIC -shared dwarfdump-inl-test.cc -o <output>
+//
+// And similarly with with gcc 4.8.2:
+// $ gcc dwarfdump-inl-test.cc -o dwarfdump-inl-test.high_pc.elf-x86-64 -g -O2 -fPIC -shared

Added: llvm/trunk/test/DebugInfo/Inputs/dwarfdump-inl-test.high_pc.elf-x86-64
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/Inputs/dwarfdump-inl-test.high_pc.elf-x86-64?rev=193711&view=auto
==============================================================================
Binary files llvm/trunk/test/DebugInfo/Inputs/dwarfdump-inl-test.high_pc.elf-x86-64 (added) and llvm/trunk/test/DebugInfo/Inputs/dwarfdump-inl-test.high_pc.elf-x86-64 Wed Oct 30 15:27:17 2013 differ

Propchange: llvm/trunk/test/DebugInfo/Inputs/dwarfdump-inl-test.high_pc.elf-x86-64
------------------------------------------------------------------------------
    svn:executable = *

Modified: llvm/trunk/test/DebugInfo/llvm-symbolizer.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/llvm-symbolizer.test?rev=193711&r1=193710&r2=193711&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/llvm-symbolizer.test (original)
+++ llvm/trunk/test/DebugInfo/llvm-symbolizer.test Wed Oct 30 15:27:17 2013
@@ -3,6 +3,7 @@ RUN: echo "%p/Inputs/dwarfdump-test.elf-
 RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x400436" >> %t.input
 RUN: echo "%p/Inputs/dwarfdump-test4.elf-x86-64 0x62c" >> %t.input
 RUN: echo "%p/Inputs/dwarfdump-inl-test.elf-x86-64 0x710" >> %t.input
+RUN: echo "%p/Inputs/dwarfdump-inl-test.high_pc.elf-x86-64 0x568" >> %t.input
 RUN: echo "\"%p/Inputs/dwarfdump-test3.elf-x86-64 space\" 0x633" >> %t.input
 RUN: echo "%p/Inputs/macho-universal 0x1f84" >> %t.input
 RUN: echo "%p/Inputs/macho-universal:i386 0x1f67" >> %t.input
@@ -27,6 +28,15 @@ CHECK-NEXT: dwarfdump-inl-test.h:2
 CHECK-NEXT: inlined_g
 CHECK-NEXT: dwarfdump-inl-test.h:7
 CHECK-NEXT: inlined_f
+CHECK-NEXT: dwarfdump-inl-test.cc:3
+CHECK-NEXT: main
+CHECK-NEXT: dwarfdump-inl-test.cc:
+
+CHECK:      inlined_h
+CHECK-NEXT: dwarfdump-inl-test.h:3
+CHECK-NEXT: inlined_g
+CHECK-NEXT: dwarfdump-inl-test.h:7
+CHECK-NEXT: inlined_f
 CHECK-NEXT: dwarfdump-inl-test.cc:3
 CHECK-NEXT: main
 CHECK-NEXT: dwarfdump-inl-test.cc:





More information about the llvm-commits mailing list