emaste 40894cfa31 Merge commit 21e5e1724b75 from llvm git:
getMainExecutable: Fix hand-rolled AT_EXECPATH for older FreeBSD

  Once we hit AT_NULL, we need to bail out of the loop; not just the
  enclosing switch.  This fixes basic usage (e.g. `cc --version`) when
  AT_EXECPATH isn't present on older branches (e.g. under
  emu-user-static, at the moment), where we would previously run off
  the end of ::environ.

  Patch By: kevans

  Reviewed By: arichardson

  Differential Revision:  https://reviews.llvm.org/D79239

MFC after:	3 days
2020-05-07 21:18:37 +00:00
..
2020-04-21 13:30:00 +00:00
2019-08-11 06:26:03 +00:00
2020-02-11 07:02:48 +00:00
2019-11-01 11:28:43 +00:00
2020-05-04 17:16:30 +00:00
2020-03-29 02:40:03 +00:00
2019-06-29 18:41:40 +00:00
2020-03-02 08:44:58 +00:00
2019-12-21 21:05:53 +00:00
2020-04-06 23:11:43 +00:00
2019-12-09 17:58:22 +00:00
2019-05-08 11:04:09 +00:00
2020-04-19 02:20:39 +00:00
2019-11-20 23:56:20 +00:00
2020-04-23 14:08:40 +00:00
2019-12-21 21:02:50 +00:00
2020-04-24 05:05:58 +00:00
2019-08-22 18:52:30 +00:00
2020-03-22 01:27:38 +00:00