[LLVMdev] RFA: Constant String c"\000"
Eli Friedman
eli.friedman at gmail.com
Wed Jan 21 15:23:57 PST 2009
On Wed, Jan 21, 2009 at 3:12 PM, Bill Wendling <isanbard at gmail.com> wrote:
> This seems wrong to me, and it's causing a problem in Objective-C,
> which requires that an empty string be placed in the .cstring section.
What's wrong? It is all zeros. If some particular user requires it
to be in a special section, it should be marked as such; we shouldn't
be guaranteeing a different representation for two constructs which
fundamentally represent the same thing.
That said, I don't think allowing it would break anything...
-Eli
More information about the llvm-dev
mailing list