[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp

Anton Korobeynikov asl at math.spbu.ru
Thu Sep 14 11:24:04 PDT 2006



Changes in directory llvm/lib/Target/Alpha:

AlphaAsmPrinter.cpp updated: 1.48 -> 1.49
---
Log message:

Adding dllimport, dllexport and external weak linkage types.
DLL* linkages got full (I hope) codegeneration support in C & both x86 
assembler backends.
External weak linkage added for future use, we don't provide any 
codegeneration, etc. support for it.


---
Diffs of the changes:  (+8 -0)

 AlphaAsmPrinter.cpp |    8 ++++++++
 1 files changed, 8 insertions(+)


Index: llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp
diff -u llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.48 llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.49
--- llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp:1.48	Thu Sep  7 17:06:40 2006
+++ llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp	Thu Sep 14 13:23:26 2006
@@ -258,6 +258,14 @@
         case GlobalValue::GhostLinkage:
           std::cerr << "GhostLinkage cannot appear in AlphaAsmPrinter!\n";
           abort();
+        case GlobalValue::DLLImportLinkage:
+          std::cerr << "DLLImport linkage is not supported by this target!\n";
+          abort();
+        case GlobalValue::DLLExportLinkage:
+          std::cerr << "DLLExport linkage is not supported by this target!\n";
+          abort();
+        default:
+          assert(0 && "Unknown linkage type!");
         }
 
         EmitAlignment(Align);






More information about the llvm-commits mailing list