[LLVMdev] strange visibility error when compiling llvm-gcc-4.2

Eric Christopher echristo at apple.com
Wed Feb 6 10:11:44 PST 2008


>>
>> This looks like something is broken on the gcc side of things. Does a
>> simple:
>>
>> void
>> __attribute__((visibility ("hidden")))
>> foo()
>> { }
>>
>> compile with your resultant compiler?
>
>
>
> also works when going to native .o or bytecode.

Well, at least it's not completely broken :)

-eric



More information about the llvm-dev mailing list