[all-commits] [llvm/llvm-project] 33c8e1: PR47391: Canonicalize DIFiles

UmeshKalappa via All-commits all-commits at lists.llvm.org
Fri Jan 8 22:15:22 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 33c8e16f660de9bbe177c1bf821063c146278d8e
      https://github.com/llvm/llvm-project/commit/33c8e16f660de9bbe177c1bf821063c146278d8e
  Author: Umesh Kalappa <umesh.kalappa0 at gmail.com>
  Date:   2021-01-08 (Fri, 08 Jan 2021)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/test/CodeGen/debug-info-oslog.c
    A clang/test/CodeGenCXX/difile_entry.cpp

  Log Message:
  -----------
  PR47391: Canonicalize DIFiles

Like @aprantl suggested, modify to  use the canonicalized DIFile, if we
don't know the  loc info and filename for the compiler generated
functions for example static initialization functions.

Reviewed By: dblaikie, aprantl

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




More information about the All-commits mailing list