[llvm-commits] [llvm-gcc-4.2] r46281 - in /llvm-gcc-4.2/trunk/gcc: config/darwin.h objc/objc-act.c
Bill Wendling
isanbard at gmail.com
Wed Jan 23 23:45:28 PST 2008
Hi Duncan,
>> GCC barfs this to the .s file directly:
>>
>> .objc_class_name_CrashTestPlugin=0
>> .globl .objc_class_name_CrashTestPlugin
>
> it looks like you write this directly to a file
> containing LLVM IR. I guess this is OK as long
> as no-one is using the global in the IR (otherwise
> the verifier will barf). Is that the case?
>
This is what I understand to be happening. The GCC version of this
doesn't even create a tree node for these, so it shouldn't be
generating a use of it. I'm taking that to imply that the GCC to LLVM
converter won't create a use of it.
-bw
More information about the llvm-commits
mailing list