[PATCH] Ensure FDE reads the correct CIE when relocating the LSDA.

Lang Hames lhames at gmail.com
Thu May 14 15:43:03 PDT 2015


Hi ruiu,

Commit r237222 taught lld to relocate the LSDA field of FDE entries in MachO eh-frames, but it contained a bug: Each FDE would refer to the augmentation data string from the most recently parsed CIE field, note the CIE pointed to by the FDE. This patch fixes that.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9783

Files:
  lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  test/mach-o/parse-eh-frame-relocs-x86_64.yaml

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9783.25821.patch
Type: text/x-patch
Size: 17970 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150514/538b2cc6/attachment.bin>


More information about the llvm-commits mailing list