[PATCH] D151445: [Flang] Add main-file-name flag to flang -fc1

2023-06-29 Thread Dominik Adamski via Phabricator via cfe-commits
domada abandoned this revision. domada added a comment. Herald added subscribers: gysit, Dinistro. Patch not needed. Preprocessor change: https://reviews.llvm.org/D153910 enables passing information about original source file. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D151445/new/ h

[PATCH] D151445: [Flang] Add main-file-name flag to flang -fc1

2023-06-19 Thread Dominik Adamski via Phabricator via cfe-commits
domada updated this revision to Diff 532588. domada edited the summary of this revision. domada added a comment. Patch rebased. Detailed discussion about the need of introduction of the new flag can be found on LLVM discourse

[PATCH] D151445: [Flang] Add main-file-name flag to flang -fc1

2023-05-25 Thread Dominik Adamski via Phabricator via cfe-commits
domada added a comment. In D151445#4372892 , @clementval wrote: > You should be able to get this information from the source location in MLIR. Hi, thank you for your quick feedback. You are right, the source location is provided in MLIR. Unfortunately,

[PATCH] D151445: [Flang] Add main-file-name flag to flang -fc1

2023-05-25 Thread Valentin Clement via Phabricator via cfe-commits
clementval added a comment. You should be able to get this information from the source location in MLIR. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D151445/new/ https://reviews.llvm.org/D151445 ___ cfe

[PATCH] D151445: [Flang] Add main-file-name flag to flang -fc1

2023-05-25 Thread Dominik Adamski via Phabricator via cfe-commits
domada created this revision. domada added reviewers: awarzynski, kiranchandramohan, jsjodin, kiranktp, agozillon, skatrak, TIFitis, RogerV-AMD, NimishMishra, raghavendhra, dpalermo. domada added a project: Flang. Herald added subscribers: bviyer, sunshaoce, Moerafaat, zero9178, bzcheeseman, sdas