[llvm-bugs] [Bug 36268] New: "GlobalValue with non default visibility must be dso_local!"
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Feb 7 06:52:55 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=36268
Bug ID: 36268
Summary: "GlobalValue with non default visibility must be
dso_local!"
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: hans at chromium.org
CC: llvm-bugs at lists.llvm.org, rafael.espindola at gmail.com
After r322806, Clang fails to build Chromium for iOS.
creduced test case:
__attribute__((availability(ios, introduced = 11.0))) @interface a @end
@implementation a @end
$ clang -cc1 -triple thumbv7-apple-ios10.0.0 -emit-obj -fvisibility hidden
-fvisibility-inlines-hidden -x objective-c++ a.ii
GlobalValue with non default visibility must be dso_local!
%struct._class_t* @"OBJC_CLASS_$_a"
GlobalValue with non default visibility must be dso_local!
%struct._class_t* @"OBJC_METACLASS_$_a"
fatal error: error in backend: Broken module found, compilation aborted!
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180207/1717782d/attachment-0001.html>
More information about the llvm-bugs
mailing list