[all-commits] [llvm/llvm-project] f3869a: Support stripping indirectly referenced DILocation...

adrian-prantl via All-commits all-commits at lists.llvm.org
Thu May 27 13:24:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3869a5c32b78bc70e5051efbc2594f772b0176e
      https://github.com/llvm/llvm-project/commit/f3869a5c32b78bc70e5051efbc2594f772b0176e
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2021-05-27 (Thu, 27 May 2021)

  Changed paths:
    M llvm/include/llvm/IR/DebugInfo.h
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/lib/Transforms/Utils/CodeExtractor.cpp
    M llvm/lib/Transforms/Utils/InlineFunction.cpp
    A llvm/test/Verifier/llvm.loop-cu-strip-indirect.ll

  Log Message:
  -----------
  Support stripping indirectly referenced DILocations from !llvm.loop metadata

in stripDebugInfo().  This patch fixes an oversight in
https://reviews.llvm.org/D96181 and also takes into account loop
metadata pointing to other MDNodes that point into the debug info.

rdar://78487175

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




More information about the All-commits mailing list