[llvm] r218134 - Fix test case to be portable to different architectures.

David Blaikie dblaikie at gmail.com
Fri Sep 19 11:31:25 PDT 2014


Author: dblaikie
Date: Fri Sep 19 13:31:25 2014
New Revision: 218134

URL: http://llvm.org/viewvc/llvm-project?rev=218134&view=rev
Log:
Fix test case to be portable to different architectures.

Modified:
    llvm/trunk/test/DebugInfo/gmlt.ll

Modified: llvm/trunk/test/DebugInfo/gmlt.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/gmlt.ll?rev=218134&r1=218133&r2=218134&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/gmlt.ll (original)
+++ llvm/trunk/test/DebugInfo/gmlt.ll Fri Sep 19 13:31:25 2014
@@ -60,13 +60,15 @@
 ; CHECK: NULL
 
 
-; FIXME: llvm-dwarfdump should detect the relocations here and realize that the
-; first two "end of list" are really just unrelocated values describing the two
-; functions in the CU.
 ; CHECK: .debug_ranges contents:
+
+; ... some addresses (depends on platform (such as platforms with function
+; reordering in the linker), and looks wonky on platforms with zero values
+; written in relocation places (dumper needs to	be fixed to read the
+; relocations rather than interpret that as the end of a range list))
+
 ; CHECK: 00000000 <End of list>
-; CHECK: 00000010 <End of list>
-; CHECK: 00000020 <End of list>
+
 
 ; Check that we don't emit any pubnames or pubtypes under -gmlt
 ; CHECK: .debug_pubnames contents:





More information about the llvm-commits mailing list