[all-commits] [llvm/llvm-project] eef021: [Flang][Debug] Modifications for getting pathname

kiranchandramohan via All-commits all-commits at lists.llvm.org
Thu Jan 19 09:02:22 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eef0210706bc16ffde17d5b574799d8aae705790
      https://github.com/llvm/llvm-project/commit/eef0210706bc16ffde17d5b574799d8aae705790
  Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
    M flang/include/flang/Lower/Bridge.h
    M flang/lib/Frontend/FrontendActions.cpp
    M flang/lib/Lower/Bridge.cpp
    A flang/test/Lower/module-debug-file-loc-linux.f90
    M flang/tools/bbc/bbc.cpp

  Log Message:
  -----------
  [Flang][Debug] Modifications for getting pathname

-> Use file pathname from the Flang frontend. It is the frontend
that is in-charge of finding the files and is hence the canonical
source for paths.
-> Convert pathname to absolute pathname while creating the moduleOp.

Co-authored-by: Peter Klausler <pklausler at nvidia.com>

Reviewed By: PeteSteinfeld, vzakhari, jeanPerier, awarzynski

Differential Revision: https://reviews.llvm.org/D141674




More information about the All-commits mailing list