[PATCH] Allow default visibility on local symbol

H.J. Lu hjl.tools at gmail.com
Wed Feb 11 18:08:50 PST 2015


GNU ld sets default, not hidden, visibility on local symbol.  Default or
hidden visibility on local symbol makes no differences in run-time
behavior.
---
 test/tools/gold/pr19901.ll | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/tools/gold/pr19901.ll b/test/tools/gold/pr19901.ll
index 304246b..5ebe9e2 100644
--- a/test/tools/gold/pr19901.ll
+++ b/test/tools/gold/pr19901.ll
@@ -9,7 +9,7 @@
 ; CHECK-NEXT:    Size:
 ; CHECK-NEXT:    Binding: Local
 ; CHECK-NEXT:    Type: Function
-; CHECK-NEXT:    Other: 2
+; CHECK-NEXT:    Other: {{2|0}}
 ; CHECK-NEXT:    Section: .text
 ; CHECK-NEXT:  }
 
-- 
1.9.3




More information about the llvm-commits mailing list