Home
last modified time | relevance | path

Searched refs:FuncRecord (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/lldb/unittests/ObjectFile/Breakpad/
DBreakpadRecordsTest.cpp65 TEST(FuncRecord, parse) { in TEST() argument
66 EXPECT_EQ(FuncRecord(true, 0x47, 0x7, 0x8, "foo"), in TEST()
67 FuncRecord::parse("FUNC m 47 7 8 foo")); in TEST()
68 EXPECT_EQ(FuncRecord(false, 0x47, 0x7, 0x8, "foo"), in TEST()
69 FuncRecord::parse("FUNC 47 7 8 foo")); in TEST()
71 EXPECT_EQ(llvm::None, FuncRecord::parse("PUBLIC 47 7 8 foo")); in TEST()
72 EXPECT_EQ(llvm::None, FuncRecord::parse("FUNC 47 7 8")); in TEST()
73 EXPECT_EQ(llvm::None, FuncRecord::parse("FUNC 47 7")); in TEST()
74 EXPECT_EQ(llvm::None, FuncRecord::parse("FUNC 47")); in TEST()
75 EXPECT_EQ(llvm::None, FuncRecord::parse("FUNC m")); in TEST()
[all …]
/external/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/
DBreakpadRecords.h92 class FuncRecord : public Record {
94 static llvm::Optional<FuncRecord> parse(llvm::StringRef Line);
95 FuncRecord(bool Multiple, lldb::addr_t Address, lldb::addr_t Size, in FuncRecord() function
107 bool operator==(const FuncRecord &L, const FuncRecord &R);
108 llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const FuncRecord &R);
DBreakpadRecords.cpp280 llvm::Optional<FuncRecord> FuncRecord::parse(llvm::StringRef Line) { in parse()
286 return FuncRecord(Multiple, Address, Size, ParamSize, Name); in parse()
291 bool breakpad::operator==(const FuncRecord &L, const FuncRecord &R) { in operator ==()
296 const FuncRecord &R) { in operator <<()
/external/llvm-project/clang/lib/CodeGen/
DCoverageMappingGen.cpp1451 auto *FuncRecord = new llvm::GlobalVariable( in emitFunctionMappingRecord() local
1455 FuncRecord->setVisibility(llvm::GlobalValue::HiddenVisibility); in emitFunctionMappingRecord()
1456 FuncRecord->setSection(getInstrProfSection(CGM, llvm::IPSK_covfun)); in emitFunctionMappingRecord()
1457 FuncRecord->setAlignment(llvm::Align(8)); in emitFunctionMappingRecord()
1459 FuncRecord->setComdat(CGM.getModule().getOrInsertComdat(FuncRecordName)); in emitFunctionMappingRecord()
1462 CGM.addUsedGlobal(FuncRecord); in emitFunctionMappingRecord()
/external/llvm-project/lldb/source/Plugins/SymbolFile/Breakpad/
DSymbolFileBreakpad.cpp356 if (auto record = FuncRecord::parse(line)) in AddSymbols()
695 if (auto record = FuncRecord::parse(*It)) { in ParseCUData()