[llvm] r283148 - [LTO] Fix test to not depend on the exact address of symbols, just their linkage

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 14:40:50 PDT 2016


Author: mehdi_amini
Date: Mon Oct  3 16:40:50 2016
New Revision: 283148

URL: http://llvm.org/viewvc/llvm-project?rev=283148&view=rev
Log:
[LTO] Fix test to not depend on the exact address of symbols, just their linkage

Modified:
    llvm/trunk/test/tools/lto/hide-linkonce-odr.ll

Modified: llvm/trunk/test/tools/lto/hide-linkonce-odr.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/lto/hide-linkonce-odr.ll?rev=283148&r1=283147&r2=283148&view=diff
==============================================================================
--- llvm/trunk/test/tools/lto/hide-linkonce-odr.ll (original)
+++ llvm/trunk/test/tools/lto/hide-linkonce-odr.ll Mon Oct  3 16:40:50 2016
@@ -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"




More information about the llvm-commits mailing list