[PATCH] [lld] [PATCH] Properly handle relocation for LSDA in MachO eh-frames.

Rui Ueyama ruiu at google.com
Tue May 12 14:58:37 PDT 2015


LGTM


REPOSITORY
  rL LLVM

================
Comment at: lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp:677
@@ +676,3 @@
+    } else
+      ++idx;
+  }
----------------
You could write like this.

  if (argStr[idx] == 'L')
    adi._maybeHaveLSDA = true;
  ++idx;

http://reviews.llvm.org/D9723

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list