[PATCH] D112589: [lld-macho] If export_size is zero, export_off must be zero

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 26 18:39:18 PDT 2021


int3 added inline comments.


================
Comment at: lld/test/MachO/no-unneeded-dyld-info.s:16-17
 # CHECK-NEXT: lazy_bind_size 0
+# CHECK-NEXT: export_off     0
+# CHECK-NEXT: export_size    0
 
----------------
I think we missed testing this the first time around because back then we couldn't emit anything other than executables, which would always have one exported symbol (i.e. `main`).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112589/new/

https://reviews.llvm.org/D112589



More information about the llvm-commits mailing list