[LLVMdev] Changing The '.' Used to Prefix Labels in Assembly Output

Tim Northover t.p.northover at gmail.com
Mon Mar 23 13:07:13 PDT 2015

> The generated labels (e.g. for a while statement) start with '.' like
> .LBB0_1
> I would like to change the '.' to something else (specifically $$ if it
> matters).
> I see a lot of customizability in targetinfo.cpp but not that particular
> item.

I think you probably want the MCAsmInfo members (PrivateLabelPrefix,
for example).



More information about the llvm-dev mailing list