diff options
author | Alex Langford <alangford@apple.com> | 2023-05-11 14:32:36 -0700 |
---|---|---|
committer | Alex Langford <alangford@apple.com> | 2023-05-12 12:17:21 -0700 |
commit | c909b491cb5f392147de4490749abc1e5372a571 (patch) | |
tree | 5ad4783177bd57f53d3cc91047a3c4cb255d5f1d /llvm/lib/Support/StringRef.cpp | |
parent | 297e06cf4b03e4c4840c580e6314e9c4c19b856f (diff) | |
download | llvm-c909b491cb5f392147de4490749abc1e5372a571.zip llvm-c909b491cb5f392147de4490749abc1e5372a571.tar.gz llvm-c909b491cb5f392147de4490749abc1e5372a571.tar.bz2 |
[lldb][NFCI] Change return type of DWARFDebugInfoEntry::GetAttributes
The purpose of this method is to get the list of attributes of a
DebugInfoEntry. Prior to this change we were passing in a mutable
reference to a DWARFAttributes object and having the method fill it in
for us while returning the size of the filled out list. But
instead of doing that, we can just return a `DWARFAttributes` object
ourselves since every caller creates a new list before calling
GetAttributes.
Differential Revision: https://reviews.llvm.org/D150402
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions