search for: _30_x0021

Displaying 1 result from an estimated 1 matches for "_30_x0021".

2009 Sep 17
1
[LLVMdev] Patch for PR4776
..." PR4776. Certain targets (e.g., MSP430) allow a symbol to start with a number, e.g. "0x0021"; you can say stuff like "mov.b &0x0021, r15" to copy a byte from memory address 0x0021 to register r15. LLVM had been generating this ill-formed code instead: mov.b &_30_x0021, r15 # note ASCII '0' has character code 0x30 Chris suggested that I add a bool for "symbols can start with digit" to MCAsmInfo and set it to true in the MSP430 backend, then make the mangler and MCSymbol printer respect that bool -- so that's what I did. Chris blessed t...