projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ce9b67
)
Add support for ${:private} which prints "L" on darwin.
author
Chris Lattner
<sabre@nondot.org>
Wed, 27 Sep 2006 00:06:07 +0000
(
00:06
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 27 Sep 2006 00:06:07 +0000
(
00:06
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30620
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter.cpp
b/lib/CodeGen/AsmPrinter.cpp
index 518aec3348fdef16f1a0243adcbbc482eeaed67a..013da748c208cd6e06fe2100e1d27964b4c14ae0 100644
(file)
--- a/
lib/CodeGen/AsmPrinter.cpp
+++ b/
lib/CodeGen/AsmPrinter.cpp
@@
-626,7
+626,9
@@
AsmPrinter::EmitMachineConstantPoolValue(MachineConstantPoolValue *MCPV) {
/// syntax used is ${:comment}. Targets can override this to add support
/// for their own strange codes.
void AsmPrinter::PrintSpecial(const MachineInstr *MI, const char *Code) {
- if (!strcmp(Code, "comment")) {
+ if (!strcmp(Code, "private")) {
+ O << TAI->getPrivateGlobalPrefix();
+ } else if (!strcmp(Code, "comment")) {
O << TAI->getCommentString();
} else if (!strcmp(Code, "uid")) {
// Assign a unique ID to this machine instruction.