Skip to content

Commit 57f03db

Browse files
committed
[BOLT][NFC] Remove unused function
Reviewed By: yota9 Differential Revision: https://reviews.llvm.org/D121729
1 parent 014f5bc commit 57f03db

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

bolt/lib/Rewrite/DWARFRewriter.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,6 @@ getDWOName(llvm::DWARFUnit &CU,
149149
return DWOName;
150150
}
151151

152-
static bool isHighPcFormEightBytes(dwarf::Form DwarfForm) {
153-
return DwarfForm == dwarf::DW_FORM_addr || DwarfForm == dwarf::DW_FORM_data8;
154-
}
155-
156152
void DWARFRewriter::updateDebugInfo() {
157153
ErrorOr<BinarySection &> DebugInfo = BC.getUniqueSectionByName(".debug_info");
158154
if (!DebugInfo)

0 commit comments

Comments
 (0)