This ensures that functions in included files have the correct path
in their file metadata.
Note: This patch also sets all locations to have the full path names.
Paths
| Differential D142263
[Flang][Debug] Use pathnames from location of functions ClosedPublic Authored by kiranchandramohan on Jan 20 2023, 4:06 PM.
Details Summary This ensures that functions in included files have the correct path Note: This patch also sets all locations to have the full path names.
Diff Detail
Event TimelineComment Actions Address comments from @vzakhari/@jeanPerier in D137956.
This revision is now accepted and ready to land.Jan 23 2023, 7:32 AM
Comment Actions Thank you for the updates! LGTM
Closed by commit rG3af9dfe46444: [Flang][Debug] Use pathnames from location of functions (authored by kiranchandramohan). · Explain WhyJan 25 2023, 5:50 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 491001 flang/lib/Lower/Bridge.cpp
flang/lib/Optimizer/Transforms/AddDebugFoundation.cpp
flang/test/Transforms/debug-line-table-existing.fir
flang/test/Transforms/debug-line-table-inc-file.fir
flang/test/Transforms/debug-line-table-inc-same-file.fir
|
I see that clang checks for - input in some case before trying to make the path absolute - I wonder if we need to handle the stdin here.