]> granicus.if.org Git - llvm/commitdiff
[LTO] Fix test to not depend on the exact address of symbols, just their linkage
authorMehdi Amini <mehdi.amini@apple.com>
Mon, 3 Oct 2016 21:40:50 +0000 (21:40 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Mon, 3 Oct 2016 21:40:50 +0000 (21:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283148 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/lto/hide-linkonce-odr.ll

index 6fbd75764ce808ea94eeb2b461e86fe1cdcd9b2b..da02f490487ddc0f881a31e27b5b2b890f63c713 100644 (file)
@@ -9,10 +9,10 @@
 
 ; RUN: llvm-nm %t.dylib | FileCheck --check-prefix=NM %s
 ; check that the linker can hide @a but not @b, nor @GlobLinkonce
-; NM: 0000000000000f48 S _GlobLinkonce
-; NM: 0000000000000f10 t _a
-; NM: 0000000000000f20 T _b
-; NM: 0000000000000f00 T _c
+; NM:  S _GlobLinkonce
+; NM:  t _a
+; NM:  T _b
+; NM:  T _c
 
 
 target triple = "x86_64-apple-macosx10.10.0"