<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hey,<br>
<br>
I have an odd problem with printing prefixed global symbols in my
AsmPrinter.<br>
<br>
In my MCAsmInfo subclass implementation, I set <br>
<br>
<blockquote>GlobalPrefix = "%";<br>
</blockquote>
<br>
because my assembler needs this to avoid name collisions.<br>
Now, whenever a global symbol (be it a label, mbb operand ,etc.)
gets printed, it is encapsulated in quotes.<br>
With other chars than '%' everything is okay...<br>
<br>
I also explicitly set AllowQuotesInName = false (which should be the
default).<br>
<br>
Here is a shortened output example:<br>
<br>
<blockquote> .file "main.c"<br>
.text<br>
.global "%main"<br>
.align 4<br>
.type "%main",@function<br>
"%main":<br>
[...]<br>
.Ltmp0:<br>
.size "%main", .Ltmp0-"%main"<br>
</blockquote>
<br>
Is this working as intended? Because I really need to use the
percent as prefix and can't have the quotes in the symbol name.<br>
<br>
Greetings, Jan<br>
</body>
</html>