This is an archive of the discontinued LLVM Phabricator instance.

[flang][NFC] Add debug dump method to evaluate::Expr and semantics::Symbol
ClosedPublic

Authored by jeanPerier on Sep 30 2021, 10:10 AM.

Details

Summary

Helps debugging when working with symbol/expression issue. The dump
method is easy to call in the debugger.

Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>

Event Timeline

jeanPerier created this revision.Sep 30 2021, 10:10 AM
jeanPerier requested review of this revision.Sep 30 2021, 10:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 30 2021, 10:10 AM
klausler accepted this revision.Sep 30 2021, 10:19 AM
klausler added inline comments.
flang/lib/Evaluate/expression.cpp
21

This inclusion could be conditional to reduce dependencies in non-debug builds.

This revision is now accepted and ready to land.Sep 30 2021, 10:19 AM

Remove useless Config.h include, it is include indirectly by raw_ostream.h

jeanPerier marked an inline comment as done.Sep 30 2021, 2:17 PM