[PATCH] D38681: [LLD] [COFF] Don't error out on relocations to discarded sections in .eh_frame
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 9 13:07:07 PDT 2017
ruiu added inline comments.
================
Comment at: COFF/Chunks.h:192
+ return SectionName.startswith(".debug_") ||
+ SectionName.startswith(".eh_frame");
+ }
----------------
I wonder if you actually need `startswith`. Why don't you use `==`?
https://reviews.llvm.org/D38681
More information about the llvm-commits
mailing list