[PATCH] D44923: [ELF] Disable ICF for synthetic sections

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 27 06:51:59 PDT 2018


ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.

LGTM

Thanks!



================
Comment at: ELF/ICF.cpp:173
+  // the equality of section contents.
+  if (dyn_cast<SyntheticSection>(S))
+    return false;
----------------
You can use isa instead of dyn_cast.


https://reviews.llvm.org/D44923





More information about the llvm-commits mailing list