[all-commits] [llvm/llvm-project] de8650: [LLDB] [LoongArch] Add loongarch64 case in Compute...

Lu Weining via All-commits all-commits at lists.llvm.org
Thu Nov 3 19:28:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de865087f8c07c742dec3523ec8cbe6895bd57ac
      https://github.com/llvm/llvm-project/commit/de865087f8c07c742dec3523ec8cbe6895bd57ac
  Author: Weining Lu <luweining at loongson.cn>
  Date:   2022-11-04 (Fri, 04 Nov 2022)

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

  Log Message:
  -----------
  [LLDB] [LoongArch] Add loongarch64 case in ComputeHostArchitectureSupport()

This is a simple change, loongarch64 host also supports 32-bit binaries,
so note it.

Without this patch:

```
[loongson at linux build]$ ./tools/lldb/unittests/Host/HostTests | tail -6
[==========] 78 tests from 18 test suites ran. (16 ms total)
[  PASSED  ] 77 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] HostTest.GetProcessInfo

 1 FAILED TEST
```

With this patch:

```
[loongson at linux build]$ ./tools/lldb/unittests/Host/HostTests | tail -2
[==========] 78 tests from 18 test suites ran. (15 ms total)
[  PASSED  ] 78 tests.
```

Reviewed By: xen0n, MaskRay, DavidSpickett

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




More information about the All-commits mailing list