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

Function convertToString

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

Source from the content-addressed store, hash-verified

143/// Convert a string from a record into an std::string, return true on failure.
144template <typename StrTy>
145static bool convertToString(ArrayRef<uint64_t> Record, unsigned Idx,
146 StrTy &Result) {
147 if (Idx > Record.size())
148 return true;
149
150 for (unsigned i = Idx, e = Record.size(); i != e; ++i)
151 Result += (char)Record[i];
152 return false;
153}
154
155// Strip all the TBAA attachment for the module.
156static void stripTBAA(Module *M) {

Callers 10

readIdentificationBlockFunction · 0.70
hasObjCCategoryInModuleFunction · 0.70
readModuleTripleFunction · 0.70
parseTypeTableBodyMethod · 0.70
parseSyncScopeNamesMethod · 0.70
recordValueMethod · 0.70
parseValueSymbolTableMethod · 0.70
parseModuleMethod · 0.70

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected