[llvm] r194575 - Remove AllowQuotesInName and friends from MCAsmInfo.
rafael.espindola at gmail.com
Wed Nov 13 19:17:59 PST 2013
On 13 November 2013 22:09, Kevin Modzelewski <kmod at dropbox.com> wrote:
> Did a little more debugging, and it seems like this is related to the fact
> that I'm creating global variables with odd names: specifically, I get all
> sorts of weird behavior if I put any nul bytes into variable names.
Why are you putting null bytes in the name? The symbol table on ELF
(and I think COFF and MachO) uses C strings.
Right now if you write
@"foo\00bar" = global i32 42
You get a symbol named foo. We should probably produce an error. In
any case, you can just use
@foo_00_bar = global i32 42
and get the same name with both versions.
More information about the llvm-commits