[all-commits] [llvm/llvm-project] 34a987: [lldb] Add SBCompileUnit::GetIsOptimized (#222403)

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Sep 9 21:11:54 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 34a9870a9851ce16686282fa4d4a19bf477d5934
      https://github.com/llvm/llvm-project/commit/34a9870a9851ce16686282fa4d4a19bf477d5934
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2026-09-09 (Wed, 09 Sep 2026)

  Changed paths:
    M lldb/bindings/interface/SBCompileUnitDocstrings.i
    M lldb/include/lldb/API/SBCompileUnit.h
    M lldb/source/API/SBCompileUnit.cpp
    M lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py

  Log Message:
  -----------
  [lldb] Add SBCompileUnit::GetIsOptimized (#222403)

Expose Module::GetIsOptimized through the SB API so clients can tell
whether a compile unit was built with optimization. This change is
motivated by lldb-dap, where I want to extend the protocol::CompileUnit
with this information.

The new tests build the same source with and without -O1, so the test
case can no longer share a build with the others.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list