<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<blockquote cite="mid:5155B03D.1020206@techfak.uni-bielefeld.de"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
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>
</blockquote>
Sorry for bumping, but I'm no step further and would really
appreciate some help with that!<br>
Is there something special about the '%' that leads to the quotation
marks? If not, I assume it's a bug or am I missing something?<br>
<br>
Jan<br>
</body>
</html>