Lines Matching refs:BaseAddr
167 const uint64_t BaseAddr, in TestFunctionInfoDecodeError() argument
171 llvm::Expected<FunctionInfo> Decoded = FunctionInfo::decode(Data, BaseAddr); in TestFunctionInfoDecodeError()
185 const uint64_t BaseAddr = 0x100; in TEST() local
186 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
189 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
193 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
197 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
201 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
205 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
327 const uint64_t BaseAddr = Inline.Ranges[0].Start; in TestInlineInfoEncodeDecode() local
328 llvm::Error Err = Inline.encode(FW, BaseAddr); in TestInlineInfoEncodeDecode()
333 llvm::Expected<InlineInfo> Decoded = InlineInfo::decode(Data, BaseAddr); in TestInlineInfoEncodeDecode()
341 StringRef Bytes, const uint64_t BaseAddr, in TestInlineInfoDecodeError() argument
345 llvm::Expected<InlineInfo> Decoded = InlineInfo::decode(Data, BaseAddr); in TestInlineInfoDecodeError()
358 const uint64_t BaseAddr = Inline.Ranges.empty() ? 0 : Inline.Ranges[0].Start; in TestInlineInfoEncodeError() local
359 llvm::Error Err = Inline.encode(FW, BaseAddr); in TestInlineInfoEncodeError()
501 const uint64_t BaseAddr = 0x100; in TEST() local
502 TestInlineInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
505 Ranges.insert({BaseAddr, BaseAddr+0x100}); in TEST()
506 Ranges.encode(FW, BaseAddr); in TEST()
507 TestInlineInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
510 TestInlineInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
513 TestInlineInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
516 TestInlineInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
746 const uint64_t BaseAddr = 0x1000; in TEST() local
749 Range1.encode(FW, BaseAddr); in TEST()
750 Range2.encode(FW, BaseAddr); in TEST()
757 DecodedRange1.decode(Data, BaseAddr, Offset); in TEST()
758 DecodedRange2.decode(Data, BaseAddr, Offset); in TEST()
764 const uint64_t BaseAddr) { in TestAddressRangeEncodeDecodeHelper() argument
769 Ranges.encode(FW, BaseAddr); in TestAddressRangeEncodeDecodeHelper()
777 DecodedRanges.decode(Data, BaseAddr, Offset); in TestAddressRangeEncodeDecodeHelper()
786 const uint64_t BaseAddr = 0x1000; in TEST() local
790 TestAddressRangeEncodeDecodeHelper(Ranges, BaseAddr); in TEST()
794 TestAddressRangeEncodeDecodeHelper(Ranges, BaseAddr); in TEST()
799 TestAddressRangeEncodeDecodeHelper(Ranges, BaseAddr); in TEST()
807 const uint64_t BaseAddr = LT[0].Addr; in TestLineTableHelper() local
808 llvm::Error Err = LT.encode(FW, BaseAddr); in TestLineTableHelper()
813 llvm::Expected<LineTable> Decoded = LineTable::decode(Data, BaseAddr); in TestLineTableHelper()
879 StringRef Bytes, const uint64_t BaseAddr, in TestLineTableDecodeError() argument
883 llvm::Expected<LineTable> Decoded = LineTable::decode(Data, BaseAddr); in TestLineTableDecodeError()
897 const uint64_t BaseAddr = 0x100; in TEST() local
898 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
901 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
904 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
907 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
911 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
916 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
921 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr, in TEST()
927 const uint64_t BaseAddr = 0x1000; in TEST() local
935 LT.encode(FW, BaseAddr)); in TEST()
939 LineEntry Line0(BaseAddr+0x000, FileIdx, 10); in TEST()
940 LineEntry Line1(BaseAddr+0x010, FileIdx, 11); in TEST()
944 "start address 0x1010", LT.encode(FW, BaseAddr+0x10)); in TEST()
952 LT.encode(FW, BaseAddr)); in TEST()
1155 constexpr uint64_t BaseAddr = 0x1000; in TEST() local
1159 GC.addFunctionInfo(FunctionInfo(BaseAddr+0x00, 0x10, Func1Name)); in TEST()
1160 GC.addFunctionInfo(FunctionInfo(BaseAddr+0x20, 0x10, Func2Name)); in TEST()
1166 BaseAddr, in TEST()
1172 BaseAddr, in TEST()
1181 constexpr uint64_t BaseAddr = 0x1000; in TEST() local
1185 GC.addFunctionInfo(FunctionInfo(BaseAddr+0x000, 0x100, Func1Name)); in TEST()
1186 GC.addFunctionInfo(FunctionInfo(BaseAddr+0x200, 0x100, Func2Name)); in TEST()
1192 BaseAddr, in TEST()
1198 BaseAddr, in TEST()
1207 constexpr uint64_t BaseAddr = 0x1000; in TEST() local
1211 GC.addFunctionInfo(FunctionInfo(BaseAddr+0x000, 0x100, Func1Name)); in TEST()
1212 GC.addFunctionInfo(FunctionInfo(BaseAddr+0x20000, 0x100, Func2Name)); in TEST()
1218 BaseAddr, in TEST()
1224 BaseAddr, in TEST()
1233 constexpr uint64_t BaseAddr = 0x1000; in TEST() local
1237 GC.addFunctionInfo(FunctionInfo(BaseAddr+0x000, 0x100, Func1Name)); in TEST()
1238 GC.addFunctionInfo(FunctionInfo(BaseAddr+0x100000000, 0x100, Func2Name)); in TEST()
1244 BaseAddr, in TEST()
1250 BaseAddr, in TEST()
1273 constexpr uint64_t BaseAddr = 0x1000; in TEST() local
1274 constexpr uint64_t Func1Addr = BaseAddr; in TEST()
1275 constexpr uint64_t Func2Addr = BaseAddr+0x20; in TEST()