[lld] 4b2169f - [lld-macho] Remove stray ehFrame change
Jez Ng via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 3 10:44:01 PST 2021
Author: Jez Ng
Date: 2021-02-03T13:43:47-05:00
New Revision: 4b2169fb6b3ce75e946806070debb9f0d38e415a
URL: https://github.com/llvm/llvm-project/commit/4b2169fb6b3ce75e946806070debb9f0d38e415a
DIFF: https://github.com/llvm/llvm-project/commit/4b2169fb6b3ce75e946806070debb9f0d38e415a.diff
LOG: [lld-macho] Remove stray ehFrame change
Per https://reviews.llvm.org/D95121#inline-897943.
Added:
Modified:
lld/MachO/Writer.cpp
Removed:
################################################################################
diff --git a/lld/MachO/Writer.cpp b/lld/MachO/Writer.cpp
index 2c06a1a39a84..8f90bad97dc7 100644
--- a/lld/MachO/Writer.cpp
+++ b/lld/MachO/Writer.cpp
@@ -432,8 +432,6 @@ void Writer::scanRelocations() {
// before Writer runs might be cleaner...
if (isec->segname == segment_names::ld)
continue;
- if (isec->name == section_names::ehFrame)
- continue;
for (Reloc &r : isec->relocs) {
if (target->hasAttr(r.type, RelocAttrBits::SUBTRAHEND))
More information about the llvm-commits
mailing list