[PATCH] D14674: [RuntimeDyld] Add accessors to `SectionEntry`; NFC

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 20 18:48:42 PST 2015


sanjoy added inline comments.

================
Comment at: lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h:65
@@ -64,3 +64,3 @@
     const SectionEntry &Section = Sections[RE.SectionID];
-    uint8_t *Target = Section.Address + RE.Offset;
+    uint8_t *Target = Section.getAddress() + RE.Offset;
 
----------------
Just noticed that there are some more of these left -- I'll upload a new diff fixing these shortly.


http://reviews.llvm.org/D14674





More information about the llvm-commits mailing list