Add plumbing for the `linker_private' linkage type. This type is meant for
[oota-llvm.git] / lib / Transforms / IPO / MergeFunctions.cpp
index e93a08784f07603bbf8af00bcf8939a4aafd85d3..6d6ecf2b22b943984a29ed26365109438ad48de2 100644 (file)
@@ -451,6 +451,7 @@ static LinkageCategory categorize(const Function *F) {
   switch (F->getLinkage()) {
   case GlobalValue::InternalLinkage:
   case GlobalValue::PrivateLinkage:
+  case GlobalValue::LinkerPrivateLinkage:
     return Internal;
 
   case GlobalValue::WeakAnyLinkage: