[llvm-commits] [llvm] r55973 - in /llvm/trunk: include/llvm/Target/TargetAsmInfo.h lib/CodeGen/AsmPrinter/AsmPrinter.cpp lib/Target/ARM/ARMTargetAsmInfo.cpp lib/Target/PowerPC/PPCTargetAsmInfo.cpp lib/Target/TargetAsmInfo.cpp lib/Target/X86/X86Ta
Chris Lattner
clattner at apple.com
Sun Sep 21 14:09:51 PDT 2008
On Sep 21, 2008, at 12:04 PM, Anton Korobeynikov wrote:
>> Ok, it sounds like overloading llvm.used like this is the problem.
>> Maybe the issues is that we need two different "used" lists? One that
>> is "must be in the assembler output" and "one that must be in the
>> linker output". The current used list would be the later, and ObjC
>> could use the former?
> I think your metadata proposal can solve almost all ObjC-related
> weirdness in symbols / sections stuff. Maybe it will be better to wait
> until it will be in mainline :)
I chatted with Daniel about that. It is possible in theory, but that
would push a lot of the objc metadata encoding logic off into the
backend. This is possible, but it seems better to keep it in the ObjC
front-end, at least right now.
If there were a client that wanted to walk the LLVM IR *and* a higher
level form of the ObjC metadata, then it might make sense to do this.
-Chris
More information about the llvm-commits
mailing list