[PATCH] D49607: [ELF] Check eh_frame_hdr overflow with PC offsets instead of PC absolute addresses

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 20 12:33:26 PDT 2018


ruiu added inline comments.


================
Comment at: ELF/SyntheticSections.h:82-83
   struct FdeData {
-    uint32_t Pc;
-    uint32_t FdeVA;
+    uint64_t PcRel;
+    uint64_t FdeVARel;
   };
----------------
Now you can use uint32_t, no?


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D49607





More information about the llvm-commits mailing list