[PATCH] D113147: [lld-macho] Fix an assertion failure when -u specifies an undefined section$start symbol

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 3 21:47:21 PDT 2021


int3 added a comment.

I don't understand this... shouldn't `-u` symbols also be marked live? `MarkLive.cpp` does traverse `explicitUndefineds` after all. Also I patched this diff, added back the assert, and ran the `start-end.s` test, and the assert wasn't triggered


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113147



More information about the llvm-commits mailing list