[PATCH] D33461: ELF: The later of --build-id and --build-id= wins.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 23 14:09:53 PDT 2017


pcc added inline comments.


================
Comment at: lld/ELF/Driver.cpp:576
+  auto *Arg = Args.getLastArg(OPT_build_id, OPT_build_id_eq);
+  if (Arg->getOption().getID() == OPT_build_id)
     return {BuildIdKind::Fast, {}};
----------------
Sorry, need a null check here. I'll upload a new patch.


https://reviews.llvm.org/D33461





More information about the llvm-commits mailing list