[PATCH] D79239: getMainExecutable: Fix hand-rolled AT_EXECPATH search for older branches

Alexander Richardson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 2 03:40:45 PDT 2020


arichardson added a comment.

Since there are only two cases I'd be tempted to use an if instead of a switch. That would avoid the need for a go-to.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79239





More information about the llvm-commits mailing list