[PATCH] D78128: Implement some functions in NativeSession.

Amy Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 20 14:38:42 PDT 2020


akhuang added inline comments.


================
Comment at: llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp:173
+      return true;
+    Offset = RVA - Sec.VirtualAddress;
+  }
----------------
rnk wrote:
> If we can subtract the virtual address out of it, are you sure it is an RVA? It seems like it's supposed to be a virtual address... If it's a virtual address, though, I would expect it to require a uint64_t. Hm.
I think the section header virtual addresses are also relative to the load address.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78128/new/

https://reviews.llvm.org/D78128





More information about the llvm-commits mailing list