From 174cf2f7476224c167608290d27eac846834dace Mon Sep 17 00:00:00 2001 From: Med Ismail Bennani Date: Fri, 13 May 2022 16:50:52 -0700 Subject: [lldb/API] Turn SBCompileUnit::GetIndexForLineEntry into FindLineEntryIndex (NFC) This patch renames the `SBCompileUnit::GetIndexForLineEntry` api to be an overload of `SBCompileUnit::FindLineEntryIndex` Differential Revision: https://reviews.llvm.org/D125594 Signed-off-by: Med Ismail Bennani --- lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py') diff --git a/lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py b/lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py index 2c4ebf7982d9..9f7de01d85da 100644 --- a/lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py +++ b/lldb/test/API/python_api/compile_unit/TestCompileUnitAPI.py @@ -37,7 +37,7 @@ class CompileUnitAPITestCase(TestBase): main_cu = sc_list.compile_units[0] self.assertTrue(main_cu.IsValid(), "Main executable CU is not valid") - self.assertEqual(main_cu.GetIndexForLineEntry(line_entry, True), + self.assertEqual(main_cu.FindLineEntryIndex(line_entry, True), main_cu.FindLineEntryIndex(0, line_entry.GetLine(), line_entry.GetFileSpec(), True)) -- cgit v1.2.3