[PATCH] D49557: [ELF] Fix handling of FDE negative relative PC addr

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 20 10:27:57 PDT 2018


ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: ELF/SyntheticSections.cpp:524-525
     return read32(Buf);
+  case DW_EH_PE_sdata2:
+    return (int16_t)read16(Buf);
+  case DW_EH_PE_sdata4:
----------------
nit: move this above `udata4` so that they are sorted by size.


https://reviews.llvm.org/D49557





More information about the llvm-commits mailing list