MCPcopy Create free account
hub / github.com/GANGE666/xVMP / upgradeDLLImportExportLinkage

Function upgradeDLLImportExportLinkage

src/lib/Bitcode/Reader/BitcodeReader.cpp:1091–1096  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1089}
1090
1091static void upgradeDLLImportExportLinkage(GlobalValue *GV, unsigned Val) {
1092 switch (Val) {
1093 case 5: GV->setDLLStorageClass(GlobalValue::DLLImportStorageClass); break;
1094 case 6: GV->setDLLStorageClass(GlobalValue::DLLExportStorageClass); break;
1095 }
1096}
1097
1098Type *BitcodeReader::getTypeByID(unsigned ID) {
1099 // The type table size is always specified correctly.

Callers 3

parseGlobalVarRecordMethod · 0.85
parseFunctionRecordMethod · 0.85

Calls 1

setDLLStorageClassMethod · 0.80

Tested by

no test coverage detected