projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4351060
)
[DebugInfo][NFCI] Follow-up to 0356ceedf2e9
author
Alex Langford
<alangford@apple.com>
Fri, 16 Jun 2023 20:27:51 +0000
(13:27 -0700)
committer
Alex Langford
<alangford@apple.com>
Fri, 16 Jun 2023 20:32:53 +0000
(13:32 -0700)
llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
index 97f7c8ec33cf3a27aec900217218d9120cf0122c..2eaad4bb43e499ba01a242ea307e4a0095243e7f 100644
(file)
--- a/
llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
+++ b/
llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
@@
-938,7
+938,7
@@
const DWARFDebugAbbrev *DWARFContext::getDebugAbbrev() {
return Abbrev.get();
DataExtractor abbrData(DObj->getAbbrevSection(), isLittleEndian(), 0);
- Abbrev
.reset(new DWARFDebugAbbrev(abbrData)
);
+ Abbrev
= std::make_unique<DWARFDebugAbbrev>(abbrData
);
return Abbrev.get();
}
@@
-947,7
+947,7
@@
const DWARFDebugAbbrev *DWARFContext::getDebugAbbrevDWO() {
return AbbrevDWO.get();
DataExtractor abbrData(DObj->getAbbrevDWOSection(), isLittleEndian(), 0);
- AbbrevDWO
.reset(new DWARFDebugAbbrev(abbrData)
);
+ AbbrevDWO
= std::make_unique<DWARFDebugAbbrev>(abbrData
);
return AbbrevDWO.get();
}