[PATCH] D103346: [Support] Fix getMainExecutable on FreeBSD when called via an absolute path

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 28 16:35:08 PDT 2021


jrtc27 added a comment.

I guess the CHERI argument is a bit silly, because (a) you'll take a bounds fault trying to walk off the end of `environ` (b) CheriBSD is newer than 1300057 so this will just call elf_aux_info, but it's still nicer to use the right types.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103346



More information about the llvm-commits mailing list