[all-commits] [llvm/llvm-project] a6926d: [lldb/API] Add SBCompileUnit::GetIndexForLineEntry...

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Thu May 12 16:55:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a6926d576131c9ad849fef6f1d43134caab5025e
      https://github.com/llvm/llvm-project/commit/a6926d576131c9ad849fef6f1d43134caab5025e
  Author: Med Ismail Bennani <medismail.bennani at gmail.com>
  Date:   2022-05-12 (Thu, 12 May 2022)

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

  Log Message:
  -----------
  [lldb/API] Add SBCompileUnit::GetIndexForLineEntry method to SB API

This patch adds a new `GetIndexForLineEntry` method to the `SBCompileUnit`
class. As the name suggests, given an `SBLineEntry` object, this will
return the line entry index within a specific compile unit.

This method can take a `exact` boolean that will make sure that the
provided line entry matches perfectly another line entry in the compile unit.

rdar://47450887

Differention Revision: https://reviews.llvm.org/D125437

Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>


  Commit: 8b9caad8eb449c1dc4df13e566a5f6c59de9be7c
      https://github.com/llvm/llvm-project/commit/8b9caad8eb449c1dc4df13e566a5f6c59de9be7c
  Author: Med Ismail Bennani <medismail.bennani at gmail.com>
  Date:   2022-05-12 (Thu, 12 May 2022)

  Changed paths:
    M lldb/test/API/lang/cpp/incomplete-types/members/TestCppIncompleteTypeMembers.py

  Log Message:
  -----------
  [lldb/test] Skip TestCppIncompleteTypeMembers.py on Darwin (NFC)

This skips `TestCppIncompleteTypeMembers.py` on Darwin platforms since
it requires `-flimit-debug-info` which is not supported.

This should fix the Green Dragon bot test run:

https://green.lab.llvm.org/green/job/lldb-cmake/43678

Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>


Compare: https://github.com/llvm/llvm-project/compare/6cd9633c1da5...8b9caad8eb44


More information about the All-commits mailing list