[llvm-dev] basic block labels in assembly (.s file)
Tom Stellard via llvm-dev
llvm-dev at lists.llvm.org
Tue Dec 1 07:31:27 PST 2015
On Sat, Nov 28, 2015 at 09:48:53PM -0500, Xiangyang Guo via llvm-dev wrote:
> Hi, All,
> If I use 'llc' to generate .s file, I notice usually the basic block labels
> are like ".LBB_number:". Is there a way that I can change the labels to
> other names, for example, to ".MyLabel_number:" ? I think this should be
> related to AsmPrinter, but I cannot narrow down to certain specific source
The '.L' prefix comes from the value of your target's MCAsmInfo::PrivateLabelPrefix.
This is configurable.
> Any help and suggestion is appreciated.
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
More information about the llvm-dev