[flang-commits] [PATCH] D97190: [flang][NFC] Add source line to lowering TODO messages

Jean Perier via Phabricator via flang-commits flang-commits at lists.llvm.org
Mon Feb 22 05:36:39 PST 2021


jeanPerier created this revision.
jeanPerier added reviewers: schweitz, clementval, SouraVX.
jeanPerier added a project: Flang.
Herald added subscribers: mehdi_amini, rriddle, jdoerfert, jfb.
Herald added a reviewer: sscalpone.
jeanPerier requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, sstefan1, stephenneuendorffer.
Herald added a project: LLVM.

- 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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97190

Files:
  flang/include/flang/Lower/Todo.h
  flang/include/flang/Optimizer/Support/FatalError.h
  flang/lib/Lower/OpenACC.cpp
  flang/lib/Lower/OpenMP.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97190.325424.patch
Type: text/x-patch
Size: 10545 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20210222/6bd8e6c8/attachment-0001.bin>


More information about the flang-commits mailing list