[cfe-commits] r127594 - in /cfe/trunk: lib/CodeGen/CodeGenModule.cpp test/CodeGen/darwin-string-literals.c
Rafael Espíndola
rafael.espindola at gmail.com
Mon Jan 20 15:52:46 PST 2014
> This was improved in ld64-234.
Awesome! Is it shipping already?
> The linker tries to merge NS/CFString objects in case two files each use the same @“” string.
> But to merge the objects the linker must know what string they point to. Currently, NS/CFString
> objects can point to UTF8 strings in __cstring or UTF16 strings in __ustring section.
> When the linker saw a NS/CFString object point to a string in some other section, it would
> assert. The recent improvement was to have the linker just consider the NS/CFString to
> be unmergable in that case.
Cool. I committed r199688 with a workaround. I am currently testing a
change to remove the old hack and let us use L labels again.
Cheers,
Rafael
More information about the cfe-commits
mailing list