[PATCH] D91537: [flang][f18] Remove "-fdebug-resolve-names"
Andrzej Warzynski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 16 05:47:12 PST 2020
awarzynski created this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
awarzynski requested review of this revision.
This option doesn't enable any unique feature/code-patch. Also, it is
neither tested nor documented.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D91537
Files:
flang/tools/f18/f18.cpp
Index: flang/tools/f18/f18.cpp
===================================================================
--- flang/tools/f18/f18.cpp
+++ flang/tools/f18/f18.cpp
@@ -99,7 +99,6 @@
bool dumpParseTree{false};
bool dumpPreFirTree{false};
bool dumpSymbols{false};
- bool debugResolveNames{false};
bool debugNoSemantics{false};
bool debugModuleWriter{false};
bool measureTree{false};
@@ -247,9 +246,9 @@
if (driver.measureTree) {
MeasureParseTree(parseTree);
}
- if (!driver.debugNoSemantics || driver.debugResolveNames ||
- driver.dumpSymbols || driver.dumpUnparseWithSymbols ||
- driver.getDefinition || driver.getSymbolsSources) {
+ if (!driver.debugNoSemantics || driver.dumpSymbols ||
+ driver.dumpUnparseWithSymbols || driver.getDefinition ||
+ driver.getSymbolsSources) {
Fortran::semantics::Semantics semantics{semanticsContext, parseTree,
parsing.cooked().AsCharBlock(), driver.debugModuleWriter};
semantics.Perform();
@@ -517,8 +516,6 @@
driver.dumpPreFirTree = true;
} else if (arg == "-fdebug-dump-symbols") {
driver.dumpSymbols = true;
- } else if (arg == "-fdebug-resolve-names") {
- driver.debugResolveNames = true;
} else if (arg == "-fdebug-module-writer") {
driver.debugModuleWriter = true;
} else if (arg == "-fdebug-measure-parse-tree") {
@@ -646,7 +643,6 @@
<< " -fdebug-dump-provenance\n"
<< " -fdebug-dump-parse-tree\n"
<< " -fdebug-dump-symbols\n"
- << " -fdebug-resolve-names\n"
<< " -fdebug-instrumented-parse\n"
<< " -fdebug-no-semantics disable semantic checks\n"
<< " -fget-definition\n"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91537.305487.patch
Type: text/x-patch
Size: 1703 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201116/0ac14844/attachment.bin>
More information about the llvm-commits
mailing list