This is an archive of the discontinued LLVM Phabricator instance.

[flang] Add dump-symbols option to bbc
ClosedPublic

Authored by clementval on Jul 15 2022, 6:00 AM.

Details

Diff Detail

Event Timeline

clementval created this revision.Jul 15 2022, 6:00 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
clementval requested review of this revision.Jul 15 2022, 6:00 AM
PeteSteinfeld requested changes to this revision.Jul 15 2022, 8:50 AM

I notice that other dump options have names that include "debug", for example, "-fdebug-dump-pre-fir". I have no strong preference which way to go, other than we should be consistent. You might want to talk to Jean before submitting these changes.

flang/test/Semantics/typeinfo01.f90
2

Did you mean to include this line?

It seems to be causing check-flang to fail.

This revision now requires changes to proceed.Jul 15 2022, 8:50 AM

Fix bbc run line

clementval marked an inline comment as done.Jul 15 2022, 11:32 AM

I notice that other dump options have names that include "debug", for example, "-fdebug-dump-pre-fir". I have no strong preference which way to go, other than we should be consistent. You might want to talk to Jean before submitting these changes.

In bbc options do not have the debug since it's a dev tool. dump-symbol was actually present in fir-dev with the same name. I do not have strong opinion here for the name.

flang/test/Semantics/typeinfo01.f90
2

Yes but it had a mistake. Should be fixed now.

PeteSteinfeld requested changes to this revision.Jul 15 2022, 2:13 PM
PeteSteinfeld added inline comments.
flang/test/Semantics/typeinfo01.f90
2

I don't see any changes from the previous version. Did you leave out a step?

This revision now requires changes to proceed.Jul 15 2022, 2:13 PM
clementval marked an inline comment as done.

Fix failing test

clementval marked an inline comment as done.Jul 18 2022, 12:19 AM
clementval added inline comments.
flang/test/Semantics/typeinfo01.f90
2

The change was %bbc -> bbc. There was still an error and it should pass now.

This revision was not accepted when it landed; it landed in state Needs Review.Jul 18 2022, 4:40 AM
This revision was automatically updated to reflect the committed changes.
clementval marked an inline comment as done.