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

Function getDecodedVisibility

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

Source from the content-addressed store, hash-verified

904}
905
906static GlobalValue::VisibilityTypes getDecodedVisibility(unsigned Val) {
907 switch (Val) {
908 default: // Map unknown visibilities to default.
909 case 0: return GlobalValue::DefaultVisibility;
910 case 1: return GlobalValue::HiddenVisibility;
911 case 2: return GlobalValue::ProtectedVisibility;
912 }
913}
914
915static GlobalValue::DLLStorageClassTypes
916getDecodedDLLStorageClass(unsigned Val) {

Callers 3

parseGlobalVarRecordMethod · 0.85
parseFunctionRecordMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected