Branch: refs/heads/main
Revision: dda1f51
Author: arezaii
Link: Unavailable
Log Message:
Merge pull request #18939 from arezaii/debug-flag
add debug-trace flag for use with compiler-library-parser
This PR adds a compiler flag --debug-trace
to be used
in conjunction with --compiler-library-parser
to emit
debug output from the new parser.
Passing the --debug-trace
flag to the compiler arguments
has no effect on output unless --compiler-library-parser
is present.
TESTING:
- [x] using
--compiler-library-parser
with--debug-trace
emits debug info - [x] compiling with
--debug-trace
doesn't affect output - [x] paratest
Reviewed by @mppf, thanks!
Signed-off-by: arezaii ahmad.rezaii@hpe.com
Modified Files:
M compiler/include/driver.h
M compiler/main/driver.cpp
M compiler/next/include/chpl/queries/Context.h
M compiler/next/include/chpl/queries/query-impl.h
M compiler/next/lib/queries/Context.cpp
M util/chpl-completion.bash
Compare: https://github.com/chapel-lang/chapel/compare/97c7b468953e...dda1f51fda06