Skip to content

Commit 5764a53

Browse files
committed
Remove deprecated opt
1 parent d06b55e commit 5764a53

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

bolt/lib/Rewrite/DWARFRewriter.cpp

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -326,12 +326,6 @@ static cl::opt<bool> KeepARanges(
326326
"keep or generate .debug_aranges section if .gdb_index is written"),
327327
cl::Hidden, cl::cat(BoltCategory));
328328

329-
static cl::opt<bool> DeterministicDebugInfo(
330-
"deterministic-debuginfo",
331-
cl::desc("disables parallel execution of tasks that may produce "
332-
"nondeterministic debug info"),
333-
cl::init(true), cl::cat(BoltCategory));
334-
335329
static cl::opt<std::string> DwarfOutputPath(
336330
"dwarf-output-path",
337331
cl::desc("Path to where .dwo files or dwp file will be written out to."),
@@ -607,11 +601,6 @@ void DWARFRewriter::updateDebugInfo() {
607601
StrWriter = std::make_unique<DebugStrWriter>(*BC.DwCtx, false);
608602
StrOffstsWriter = std::make_unique<DebugStrOffsetsWriter>(BC);
609603

610-
if (!opts::DeterministicDebugInfo) {
611-
opts::DeterministicDebugInfo = true;
612-
errs() << "BOLT-WARNING: --deterministic-debuginfo is being deprecated\n";
613-
}
614-
615604
/// Stores and serializes information that will be put into the
616605
/// .debug_addr DWARF section.
617606
std::unique_ptr<DebugAddrWriter> FinalAddrWriter;
@@ -759,8 +748,7 @@ void DWARFRewriter::updateDebugInfo() {
759748
CUOffsetMap OffsetMap =
760749
finalizeTypeSections(DIEBlder, *Streamer, GDBIndexSection);
761750

762-
const bool SingleThreadedMode =
763-
opts::NoThreads || opts::DeterministicDebugInfo;
751+
const bool SingleThreadedMode = opts::NoThreads;
764752
if (!SingleThreadedMode)
765753
DIEBlder.buildCompileUnits();
766754
if (SingleThreadedMode) {

0 commit comments

Comments
 (0)