[all-commits] [llvm/llvm-project] f35a82: Return actual type from SBType::GetArrayElementType

Andy Yankovsky via All-commits all-commits at lists.llvm.org
Tue Nov 3 10:54:03 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f35a82384d9ebeff3bb5ffd7a5ebe30436c1b401
      https://github.com/llvm/llvm-project/commit/f35a82384d9ebeff3bb5ffd7a5ebe30436c1b401
  Author: Andy Yankovsky <weratt at gmail.com>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M lldb/source/API/SBType.cpp
    M lldb/test/API/python_api/type/TestTypeList.py
    M lldb/test/API/python_api/type/main.cpp

  Log Message:
  -----------
  Return actual type from SBType::GetArrayElementType

SBType::GetArrayElementType should return the actual type, not the
canonical type (e.g. int32_t, not the underlying int).

Added a test case to validate the new behavior. I also ran all other
tests on Linux (ninja check-lldb), they all pass.

Differential revision: https://reviews.llvm.org/D90318




More information about the All-commits mailing list