[all-commits] [llvm/llvm-project] 1b4d5b: [lldb/API] Use a valid LineEntry object in SBCompi...
Med Ismail Bennani via All-commits
all-commits at lists.llvm.org
Mon May 17 17:29:35 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1b4d5b3bf30656d39d94985a63f1c0514fcc6526
https://github.com/llvm/llvm-project/commit/1b4d5b3bf30656d39d94985a63f1c0514fcc6526
Author: Med Ismail Bennani <medismail.bennani at gmail.com>
Date: 2021-05-18 (Tue, 18 May 2021)
Changed paths:
M lldb/source/API/SBCompileUnit.cpp
A lldb/test/API/functionalities/find-line-entry/Makefile
A lldb/test/API/functionalities/find-line-entry/TestFindLineEntry.py
A lldb/test/API/functionalities/find-line-entry/main.c
Log Message:
-----------
[lldb/API] Use a valid LineEntry object in SBCompileUnit::FindLineEntryIndex
This patch updates `SBCompileUnit::FindLineEntryIndex` to pass a valid
`LineEntry` pointer to `CompileUnit::FindLineEntry`.
This caused `LineTable::FindLineEntryIndexByFileIndexImpl` to return its
`best_match` initial value (UINT32_MAX).
rdar://78115426
Differential Revision: https://reviews.llvm.org/D102658
Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>
More information about the All-commits
mailing list