[all-commits] [llvm/llvm-project] e3d8ee: reland "[DebugInfo] Support to emit debugInfo for ...

yonghong-song via All-commits all-commits at lists.llvm.org
Sun Dec 22 18:29:12 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e3d8ee35e4adca664a9149536e0f0b3b0ceaeaeb
      https://github.com/llvm/llvm-project/commit/e3d8ee35e4adca664a9149536e0f0b3b0ceaeaeb
  Author: Yonghong Song <yhs at fb.com>
  Date:   2019-12-22 (Sun, 22 Dec 2019)

  Changed paths:
    M clang/include/clang/AST/ASTConsumer.h
    M clang/include/clang/Basic/TargetInfo.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Basic/Targets/BPF.h
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGDebugInfo.h
    M clang/lib/CodeGen/CodeGenAction.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/lib/CodeGen/ModuleBuilder.cpp
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaDecl.cpp
    A clang/test/CodeGen/debug-info-extern-basic.c
    A clang/test/CodeGen/debug-info-extern-duplicate.c
    A clang/test/CodeGen/debug-info-extern-multi.c
    A clang/test/CodeGen/debug-info-extern-unused.c
    M llvm/include/llvm/IR/DIBuilder.h
    M llvm/lib/IR/DIBuilder.cpp
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/unittests/Transforms/Utils/CloningTest.cpp

  Log Message:
  -----------
  reland "[DebugInfo] Support to emit debugInfo for extern variables"

Commit d77ae1552fc21a9f3877f3ed7e13d631f517c825
("[DebugInfo] Support to emit debugInfo for extern variables")
added deebugInfo for extern variables for BPF target.
The commit is reverted by 891e25b02d760d0de18c7d46947913b3166047e7
as the committed tests using %clang instead of %clang_cc1 causing
test failed in certain scenarios as reported by Reid Kleckner.

This patch fixed the tests by using %clang_cc1.

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




More information about the All-commits mailing list