[all-commits] [llvm/llvm-project] cf3e40: Prevent GetAugmentedArchSpec() from attaching "unk...

adrian-prantl via All-commits all-commits at lists.llvm.org
Mon Apr 4 08:57:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf3e4011b57b07d88e3e577295c3327b07c15922
      https://github.com/llvm/llvm-project/commit/cf3e4011b57b07d88e3e577295c3327b07c15922
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2022-04-04 (Mon, 04 Apr 2022)

  Changed paths:
    M lldb/source/Host/common/HostInfoBase.cpp
    M lldb/unittests/Host/HostInfoTest.cpp

  Log Message:
  -----------
  Prevent GetAugmentedArchSpec() from attaching "unknown" environments

Environments are optional and a missing environment is distinct from
the default "unknown" environment enumerator.  The test is negative,
because the function uses the host triple and is unpredictable.

rdar://91007207

https://reviews.llvm.org/D122946

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




More information about the All-commits mailing list