• Home
  • Raw
  • Download

Lines Matching refs:FuncAddr

221   const uint64_t FuncAddr = 0x1000;  in TEST()  local
225 FunctionInfo InvalidNameFI(FuncAddr, FuncSize, InvalidName); in TEST()
229 FunctionInfo InvalidLineTableFI(FuncAddr, FuncSize, ValidName); in TEST()
236 FunctionInfo InvalidInlineInfoFI(FuncAddr, FuncSize, ValidName); in TEST()
265 static void AddLines(uint64_t FuncAddr, uint32_t FileIdx, FunctionInfo &FI) { in AddLines() argument
267 LineEntry Line0(FuncAddr + 0x000, FileIdx, 10); in AddLines()
268 LineEntry Line1(FuncAddr + 0x010, FileIdx, 11); in AddLines()
269 LineEntry Line2(FuncAddr + 0x100, FileIdx, 1000); in AddLines()
276 static void AddInline(uint64_t FuncAddr, uint64_t FuncSize, FunctionInfo &FI) { in AddInline() argument
278 FI.Inline->Ranges.insert(AddressRange(FuncAddr, FuncAddr + FuncSize)); in AddInline()
280 Inline1.Ranges.insert(AddressRange(FuncAddr + 0x10, FuncAddr + 0x30)); in AddInline()
288 constexpr uint64_t FuncAddr = 0x1000; in TEST() local
294 FunctionInfo FI(FuncAddr, FuncSize, FuncName); in TEST()
300 FunctionInfo FILines(FuncAddr, FuncSize, FuncName); in TEST()
301 AddLines(FuncAddr, FileIdx, FILines); in TEST()
307 FunctionInfo FIInline(FuncAddr, FuncSize, FuncName); in TEST()
308 AddInline(FuncAddr, FuncSize, FIInline); in TEST()
314 FunctionInfo FIBoth(FuncAddr, FuncSize, FuncName); in TEST()
315 AddLines(FuncAddr, FileIdx, FIBoth); in TEST()
316 AddInline(FuncAddr, FuncSize, FIBoth); in TEST()
1079 const uint64_t FuncAddr = 0x1000; in TEST() local
1084 GC.addFunctionInfo(FunctionInfo(FuncAddr, FuncSize, FuncName)); in TEST()