[PATCH] D121729: [BOLT][NFC] Remove unused function
Maksim Panchenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 15 12:36:27 PDT 2022
maksfb created this revision.
maksfb added reviewers: ayermolo, yota9, rafauler, Amir.
Herald added a project: All.
maksfb requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D121729
Files:
bolt/lib/Rewrite/DWARFRewriter.cpp
Index: bolt/lib/Rewrite/DWARFRewriter.cpp
===================================================================
--- bolt/lib/Rewrite/DWARFRewriter.cpp
+++ bolt/lib/Rewrite/DWARFRewriter.cpp
@@ -149,10 +149,6 @@
return DWOName;
}
-static bool isHighPcFormEightBytes(dwarf::Form DwarfForm) {
- return DwarfForm == dwarf::DW_FORM_addr || DwarfForm == dwarf::DW_FORM_data8;
-}
-
void DWARFRewriter::updateDebugInfo() {
ErrorOr<BinarySection &> DebugInfo = BC.getUniqueSectionByName(".debug_info");
if (!DebugInfo)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121729.415544.patch
Type: text/x-patch
Size: 522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220315/93eb8039/attachment.bin>
More information about the llvm-commits
mailing list