[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp
Anton Korobeynikov
asl at math.spbu.ru
Sun Apr 29 11:35:47 PDT 2007
Changes in directory llvm/lib/VMCore:
AsmWriter.cpp updated: 1.278 -> 1.279
---
Log message:
Implement protected visibility. This partly implements PR1363: http://llvm.org/PR1363 . Linker
should be taught to deal with protected symbols.
---
Diffs of the changes: (+3 -0)
AsmWriter.cpp | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.278 llvm/lib/VMCore/AsmWriter.cpp:1.279
--- llvm/lib/VMCore/AsmWriter.cpp:1.278 Sun Apr 29 13:02:48 2007
+++ llvm/lib/VMCore/AsmWriter.cpp Sun Apr 29 13:35:00 2007
@@ -886,6 +886,7 @@
default: assert(0 && "Invalid visibility style!");
case GlobalValue::DefaultVisibility: break;
case GlobalValue::HiddenVisibility: Out << "hidden "; break;
+ case GlobalValue::ProtectedVisibility: Out << "protected "; break;
}
}
@@ -914,6 +915,7 @@
default: assert(0 && "Invalid visibility style!");
case GlobalValue::DefaultVisibility: break;
case GlobalValue::HiddenVisibility: Out << "hidden "; break;
+ case GlobalValue::ProtectedVisibility: Out << "protected "; break;
}
Out << "alias ";
@@ -998,6 +1000,7 @@
default: assert(0 && "Invalid visibility style!");
case GlobalValue::DefaultVisibility: break;
case GlobalValue::HiddenVisibility: Out << "hidden "; break;
+ case GlobalValue::ProtectedVisibility: Out << "protected "; break;
}
}
More information about the llvm-commits
mailing list