[llvm-commits] [llvm] r102127 - in /llvm/trunk: lib/CodeGen/AsmPrinter/DwarfDebug.cpp lib/CodeGen/AsmPrinter/DwarfDebug.h test/DebugInfo/2010-04-22-range.ll

Devang Patel dpatel at apple.com
Thu Apr 22 16:06:45 PDT 2010


On Apr 22, 2010, at 3:52 PM, Anton Korobeynikov wrote:

>>> 1. So far we're switching stuff only for linkonce functions, not for
>>> weak, so check isWeakForLinker() looks a bit too "wide"
>> 
>> What would be an appropriate check for it then ?
> Hrm... In theory we should somehow check the section of the function
> in question and compare it with TextSection. And do different things
> depending on whether these two sections coincide or not. Am I right?

In theory yes. In practice, I did not find any better alternative at the moment.
-
Devang



More information about the llvm-commits mailing list