diff options
| author | Michael Buch <michaelbuch12@gmail.com> | 2025-08-08 18:23:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-08 18:23:58 +0100 |
| commit | ef30dd34e9ac0bbca9d5b88a5e78b3a4c1167e6c (patch) | |
| tree | 94fbd08508391df362d84febef1140e47dfd743a /lldb/source/Expression/IRExecutionUnit.cpp | |
| parent | 3b884db6ef458148ddc71e8133b334f8e1794ff9 (diff) | |
| download | llvm-ef30dd34e9ac0bbca9d5b88a5e78b3a4c1167e6c.tar.gz llvm-ef30dd34e9ac0bbca9d5b88a5e78b3a4c1167e6c.tar.bz2 llvm-ef30dd34e9ac0bbca9d5b88a5e78b3a4c1167e6c.zip | |
[lldb][SymbolFileDWARF][NFC] Add FindFunctionDefinition helper (#152733)
Factors out code to locate a definition DIE from a `FunctionCallLabel`
into a helper. This will be useful for an upcoming refactor that extends
`FindFunctionDefinition`.
Drive-by:
* adjusts some error messages in the `FunctionCallLabel` support code.
Diffstat (limited to 'lldb/source/Expression/IRExecutionUnit.cpp')
| -rw-r--r-- | lldb/source/Expression/IRExecutionUnit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/IRExecutionUnit.cpp b/lldb/source/Expression/IRExecutionUnit.cpp index e7a26d3c2dcf..d557084acb74 100644 --- a/lldb/source/Expression/IRExecutionUnit.cpp +++ b/lldb/source/Expression/IRExecutionUnit.cpp @@ -799,7 +799,7 @@ ResolveFunctionCallLabel(const FunctionCallLabel &label, auto sc_or_err = symbol_file->ResolveFunctionCallLabel(label); if (!sc_or_err) return llvm::joinErrors( - llvm::createStringError("failed to resolve function by UID"), + llvm::createStringError("failed to resolve function by UID:"), sc_or_err.takeError()); SymbolContextList sc_list; |
