This is an archive of the discontinued LLVM Phabricator instance.

[flang][NFC] Add source line to lowering TODO messages
ClosedPublic

Authored by jeanPerier on Feb 22 2021, 5:36 AM.

Details

Summary
  • Add a fatal error handler that can print a message with source location before aborting.
  • Update TODO macro to take an mlir location argument and to use the newly introduced fatal error handler.
  • Introduce TODO_NOLOC for the few places where no source location is easily accessible.

Diff Detail

Event Timeline

jeanPerier created this revision.Feb 22 2021, 5:36 AM
jeanPerier requested review of this revision.Feb 22 2021, 5:36 AM
schweitz accepted this revision.Feb 22 2021, 8:15 AM
This revision is now accepted and ready to land.Feb 22 2021, 8:15 AM
This revision was landed with ongoing or failed builds.Feb 23 2021, 12:02 AM
This revision was automatically updated to reflect the committed changes.