[PATCH] D101223: [lld/mac] Don't assert when using -exported_symbol with private symbol

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 23 21:02:57 PDT 2021


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

How about removing the assert altogether? InputFiles.cpp already has `assert((sym.n_type & N_EXT) && "invalid input");`

Keeping it is fine too I guess since it's a debug build only thing


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

https://reviews.llvm.org/D101223



More information about the llvm-commits mailing list