[all-commits] [llvm/llvm-project] 0ebf9a: [DebugInfo] Move the findDbg* functions into Debug...

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Mon Apr 19 02:31:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ebf9a8e34b6aeee520aa5dc6916a155c5789533
      https://github.com/llvm/llvm-project/commit/0ebf9a8e34b6aeee520aa5dc6916a155c5789533
  Author: OCHyams <orlando.hyams at sony.com>
  Date:   2021-04-19 (Mon, 19 Apr 2021)

  Changed paths:
    M llvm/include/llvm/IR/DebugInfo.h
    M llvm/include/llvm/Transforms/Utils/Local.h
    M llvm/lib/CodeGen/CodeGenPrepare.cpp
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/lib/Transforms/Utils/AutoInitRemark.cpp
    M llvm/lib/Transforms/Utils/LCSSA.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp

  Log Message:
  -----------
  [DebugInfo] Move the findDbg* functions into DebugInfo.cpp

Move the findDbg* functions into lib/IR/DebugInfo.cpp from
lib/Transforms/Utils/Local.cpp.

D99169 adds a call to a function (findDbgUsers) that lives in
lib/Transforms/Utils/Local.cpp (LLVMTransformUtils) from lib/IR/Value.cpp
(LLVMCore). The Core lib doesn't include TransformUtils. The builtbots caught
this here: https://lab.llvm.org/buildbot/#/builders/109/builds/12664. This patch
moves the function, and the 3 similar ones for consistency, into DebugInfo.cpp
which is part of LLVMCore.

Reviewed By: dblaikie, rnk

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




More information about the All-commits mailing list