[all-commits] [llvm/llvm-project] 71e548: DebugInfo: Migrate callers from getAsCString to dw...
David Blaikie via All-commits
all-commits at lists.llvm.org
Tue Dec 14 14:51:01 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 71e5488a195dde08a76e923814e036c68033869f
https://github.com/llvm/llvm-project/commit/71e5488a195dde08a76e923814e036c68033869f
Author: David Blaikie <dblaikie at gmail.com>
Date: 2021-12-14 (Tue, 14 Dec 2021)
Changed paths:
M llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h
M llvm/lib/DWARFLinker/DWARFLinker.cpp
M llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
M llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
M llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
M llvm/tools/obj2yaml/dwarf2yaml.cpp
M llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
M llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp
M llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp
Log Message:
-----------
DebugInfo: Migrate callers from getAsCString to dwarf::toString
This makes a bunch of these call sites independent of a follow-up change
I'm making to have getAsCString return Expected<const char*> for more
descriptive error messages so that the failures there can be
communicated up to DWARFVerifier (or other callers who want to provide
more verbose diagnostics) so DWARFVerifier doesn't have to re-implement
the string lookup logic and error checking.
More information about the All-commits
mailing list