[patch] Remove AllowQuotesInName and friends from MCAsmInfo.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Nov 12 15:45:26 PST 2013


Hi Chris,

Chatting on the dev meeting about the mangler we decide to try to
simplify it to use target data. That way it can keep adding the _
prefix and the fastcall/thiscall suffixes without having to link all
targets into llvm-ar (for example).

This is the first patch is that direction. Accepting quotes is a
property of an assembler, not of an object file. For example, ELF can
support any names for sections and symbols, but the gnu assembler only
accepts quotes in some contexts and llvm-mc in a few more.

LLVM should not produce different symbols based on a guess about which
assembler will be reading the code it is printing.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 12249 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131112/0fe7730a/attachment.obj>


More information about the llvm-commits mailing list