[cfe-commits] r66408 - in /cfe/trunk/lib/CodeGen: CodeGenModule.cpp CodeGenModule.h

Mike Stump mrs at apple.com
Mon Mar 9 15:40:20 PDT 2009

On Mar 9, 2009, at 11:47 AM, Daniel Dunbar wrote:
> Can you explain what motivated this commit?

Sure, IBMutableOrderedDictionary.o from InterfaceBuilder.  I get:

nm  InterfaceBuilder/build/InterfaceBuilder.build/Release/ 
IBMutableOrderedDictionary.o | grep _free
          U _free
          U _free98

when that patch is disabled and just _free without it being disabled.   
Word of caution, the .mi file for that translation unit won't  
reproduce this.

> I do not like the road this is going down; and without test cases or  
> motivation I can't
> necessarily understand how to rework CodeGenModule appropriately.

I can spend some more time on this to find the original creator of the  
symbol and change it to update the GlobalDeclMap instead...  That  
would then allow us to remove looking into the module table.

More information about the cfe-commits mailing list