[LLVMdev] restrictions on symbol names?
Óscar Fuentes
ofv at wanadoo.es
Mon Jun 24 22:21:11 PDT 2013
edA-qa mort-ora-y <eda-qa at disemia.com> writes:
> I can't find a reference (LLVM or ABI specs) as to what restrictions
> there are on symbol names (for functions and global variables). I want
> to know what characters are allowed. For C exports I know I must stick
> to the C format, but for symbols private to my libraries I can do
> something else. Where might I find a reference for this?
In my experience, the most restrictive part is the object format (ELF,
COFF, etc.)
LLVM proper is quite liberal on this regard. See
http://llvm.org/docs/LangRef.html#identifiers
More information about the llvm-dev
mailing list