[PATCH] D32397: [LLD] Avoid empty .eh_frame sections
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 24 10:15:46 PDT 2017
ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.
LGTM. I think this is fine, but I'll give Rafael a chance to take a look. Please wait for a few days before submitting.
================
Comment at: lld/ELF/SyntheticSections.cpp:548-551
+ if (Off == 0)
+ Off = 4;
+
this->Size = Off;
----------------
this->Size = (Off == 0) ? 4 : Off;
https://reviews.llvm.org/D32397
More information about the llvm-commits
mailing list