From db119544a2661759227fb61c8015f544861c4252 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Fri, 19 Sep 2014 18:31:25 +0000 Subject: [PATCH] Fix test case to be portable to different architectures. llvm-svn: 218134 --- llvm/test/DebugInfo/gmlt.ll | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/llvm/test/DebugInfo/gmlt.ll b/llvm/test/DebugInfo/gmlt.ll index 0c81c29ed7da..3912134b2d10 100644 --- a/llvm/test/DebugInfo/gmlt.ll +++ b/llvm/test/DebugInfo/gmlt.ll @@ -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 -; CHECK: 00000010 -; CHECK: 00000020 + ; Check that we don't emit any pubnames or pubtypes under -gmlt ; CHECK: .debug_pubnames contents: