[all-commits] [llvm/llvm-project] 7d297d: Reland "[lldb] Add support for using integral cons...

Andy Hippo via All-commits all-commits at lists.llvm.org
Fri Jul 15 03:52:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d297de95117e783bbfaecbba1f72fc55de05a30
      https://github.com/llvm/llvm-project/commit/7d297de95117e783bbfaecbba1f72fc55de05a30
  Author: Andy Yankovsky <weratt at gmail.com>
  Date:   2022-07-15 (Fri, 15 Jul 2022)

  Changed paths:
    M lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
    A lldb/test/API/lang/cpp/const_static_integral_member/Makefile
    A lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py
    A lldb/test/API/lang/cpp/const_static_integral_member/main.cpp
    A lldb/test/API/lang/cpp/const_static_integral_member_int128/Makefile
    A lldb/test/API/lang/cpp/const_static_integral_member_int128/TestConstStaticIntegralMemberInt128.py
    A lldb/test/API/lang/cpp/const_static_integral_member_int128/main.cpp
    M lldb/unittests/SymbolFile/DWARF/CMakeLists.txt
    M lldb/unittests/SymbolFile/DWARF/DWARFASTParserClangTests.cpp

  Log Message:
  -----------
  Reland "[lldb] Add support for using integral const static data members in the expression evaluator"

Reland 486787210d which broke tests on Arm and Windows.

* Windows -- on Windows const static data members with no out-of-class
  definition do have valid addresses, in constract to other platforms
  (Linux, macos) where they don't. Adjusted the test to expect success
  on Windows and failure on other platforms.

* Arm -- `int128` is not available on 32-bit ARM, so disable the test
  for this architecture.




More information about the All-commits mailing list