Lines Matching defs:BaseAddr

181                                         const uint64_t BaseAddr,
185 llvm::Expected<FunctionInfo> Decoded = FunctionInfo::decode(Data, BaseAddr);
199 const uint64_t BaseAddr = 0x100;
200 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
203 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
207 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
211 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
215 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
219 TestFunctionInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
342 const uint64_t BaseAddr = Inline.Ranges[0].start();
343 llvm::Error Err = Inline.encode(FW, BaseAddr);
348 llvm::Expected<InlineInfo> Decoded = InlineInfo::decode(Data, BaseAddr);
356 StringRef Bytes, const uint64_t BaseAddr,
360 llvm::Expected<InlineInfo> Decoded = InlineInfo::decode(Data, BaseAddr);
373 const uint64_t BaseAddr =
375 llvm::Error Err = Inline.encode(FW, BaseAddr);
516 const uint64_t BaseAddr = 0x100;
517 TestInlineInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
520 Ranges.insert({BaseAddr, BaseAddr+0x100});
521 encodeRanges(Ranges, FW, BaseAddr);
522 TestInlineInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
525 TestInlineInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
528 TestInlineInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
531 TestInlineInfoDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
633 const uint64_t BaseAddr = 0x1000;
636 encodeRange(Range1, FW, BaseAddr);
637 encodeRange(Range2, FW, BaseAddr);
644 DecodedRange1 = decodeRange(Data, BaseAddr, Offset);
645 DecodedRange2 = decodeRange(Data, BaseAddr, Offset);
651 const uint64_t BaseAddr) {
656 encodeRanges(Ranges, FW, BaseAddr);
664 decodeRanges(DecodedRanges, Data, BaseAddr, Offset);
673 const uint64_t BaseAddr = 0x1000;
677 TestAddressRangeEncodeDecodeHelper(Ranges, BaseAddr);
681 TestAddressRangeEncodeDecodeHelper(Ranges, BaseAddr);
686 TestAddressRangeEncodeDecodeHelper(Ranges, BaseAddr);
694 const uint64_t BaseAddr = LT[0].Addr;
695 llvm::Error Err = LT.encode(FW, BaseAddr);
700 llvm::Expected<LineTable> Decoded = LineTable::decode(Data, BaseAddr);
766 StringRef Bytes, const uint64_t BaseAddr,
770 llvm::Expected<LineTable> Decoded = LineTable::decode(Data, BaseAddr);
784 const uint64_t BaseAddr = 0x100;
785 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
788 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
791 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
794 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
798 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
803 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
808 TestLineTableDecodeError(ByteOrder, OutStrm.str(), BaseAddr,
814 const uint64_t BaseAddr = 0x1000;
822 LT.encode(FW, BaseAddr));
825 // than BaseAddr and verify we get an appropriate error.
826 LineEntry Line0(BaseAddr+0x000, FileIdx, 10);
827 LineEntry Line1(BaseAddr+0x010, FileIdx, 11);
831 "start address 0x1010", LT.encode(FW, BaseAddr+0x10));
835 // than BaseAddr and verify we get an appropriate error.
839 LT.encode(FW, BaseAddr));
1042 constexpr uint64_t BaseAddr = 0x1000;
1046 GC.addFunctionInfo(FunctionInfo(BaseAddr+0x00, 0x10, Func1Name));
1047 GC.addFunctionInfo(FunctionInfo(BaseAddr+0x20, 0x10, Func2Name));
1052 BaseAddr,
1056 BaseAddr,
1065 constexpr uint64_t BaseAddr = 0x1000;
1069 GC.addFunctionInfo(FunctionInfo(BaseAddr+0x000, 0x100, Func1Name));
1070 GC.addFunctionInfo(FunctionInfo(BaseAddr+0x200, 0x100, Func2Name));
1075 BaseAddr,
1079 BaseAddr,
1088 constexpr uint64_t BaseAddr = 0x1000;
1092 GC.addFunctionInfo(FunctionInfo(BaseAddr+0x000, 0x100, Func1Name));
1093 GC.addFunctionInfo(FunctionInfo(BaseAddr+0x20000, 0x100, Func2Name));
1098 BaseAddr,
1102 BaseAddr,
1111 constexpr uint64_t BaseAddr = 0x1000;
1115 GC.addFunctionInfo(FunctionInfo(BaseAddr+0x000, 0x100, Func1Name));
1116 GC.addFunctionInfo(FunctionInfo(BaseAddr+0x100000000, 0x100, Func2Name));
1121 BaseAddr,
1125 BaseAddr,
1148 constexpr uint64_t BaseAddr = 0x1000;
1149 constexpr uint64_t Func1Addr = BaseAddr;
1150 constexpr uint64_t Func2Addr = BaseAddr+0x20;
2443 constexpr uint64_t BaseAddr = 0x1000;
2447 GC.addFunctionInfo(FunctionInfo(BaseAddr, 0, Func1Name));
2448 GC.addFunctionInfo(FunctionInfo(BaseAddr, 0, Func2Name));
2453 BaseAddr,
2457 BaseAddr,