[PATCH] Change representation of dllexport/dllimport

Saleem Abdulrasool compnerd at compnerd.org
Tue Sep 10 10:37:15 PDT 2013



================
Comment at: lib/Bitcode/Reader/BitcodeReader.cpp:207
@@ +206,3 @@
+  switch (Val) {
+  case 5: GV->setDLLStorageClass(GlobalValue::DLLImportStorageClass);
+  case 6: GV->setDLLStorageClass(GlobalValue::DLLExportStorageClass);
----------------
missing return or break

================
Comment at: lib/Bitcode/Reader/BitcodeReader.cpp:208
@@ +207,3 @@
+  case 5: GV->setDLLStorageClass(GlobalValue::DLLImportStorageClass);
+  case 6: GV->setDLLStorageClass(GlobalValue::DLLExportStorageClass);
+  }
----------------
ditto


http://llvm-reviews.chandlerc.com/D1110



More information about the llvm-commits mailing list