[PATCH] D32652: Gracefully handle empty .drectve sections
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 28 12:13:07 PDT 2017
ruiu added a comment.
I feel like we should fix `COFFObjectFile::getSectionContents` to not fail on empty sections instead of avoid calling it on empty sections, as I naturally expect that getSectionContents returns an empty StringRef for an empty section.
https://reviews.llvm.org/D32652
More information about the llvm-commits
mailing list