From b2c0a6db6ef94fc796851bb7c7fe6b3728768d97 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218134 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/DebugInfo/gmlt.ll | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/test/DebugInfo/gmlt.ll b/test/DebugInfo/gmlt.ll index 0c81c29ed7d..3912134b2d1 100644 --- a/test/DebugInfo/gmlt.ll +++ b/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: -- 2.34.1