// IsLiteralLabel specifies whether the label is literal (i.e. suppresses
// the global C symbol prefix) or not. If not, the mangle-suppression prefix
// ('\01') is omitted from the decl name at the LLVM IR level.
//
// Non-literal labels are used by some external AST sources like LLDB.
...
bool isEquivalent(AsmLabelAttr *Other) const {
return getLabel() == Other->getLabel() && getIsLiteralLabel() == Other->getIsLiteralLabel();
}
error:
clang:
source file: https://github.com/elliotchance/c2go/blob/b603e1d1c3b21c97eee63fcec2360adf4a2ce001/tests/stdio.c
Some related information was added in clang 10: https://releases.llvm.org/10.0.0/tools/clang/docs/AttributeReference.html#asm The changeset provides more information:
https://reviews.llvm.org/D67774