[all-commits] [llvm/llvm-project] f95bd1: Revert "[Attr] support btf_type_tag attribute"

Martin Storsjö via All-commits all-commits at lists.llvm.org
Fri Nov 5 01:37:15 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f95bd18b5faa6a5af4b5786312c373c5b2dce687
      https://github.com/llvm/llvm-project/commit/f95bd18b5faa6a5af4b5786312c373c5b2dce687
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-11-05 (Fri, 05 Nov 2021)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGDebugInfo.h
    R clang/test/CodeGen/attr-btf_type_tag-func.c
    R clang/test/CodeGen/attr-btf_type_tag-typedef-field.c
    R clang/test/CodeGen/attr-btf_type_tag-var.c
    M llvm/include/llvm/IR/DIBuilder.h
    M llvm/lib/IR/DIBuilder.cpp
    R llvm/test/Bitcode/attr-btf_type_tag.ll
    R llvm/test/DebugInfo/attr-btf_type_tag.ll

  Log Message:
  -----------
  Revert "[Attr] support btf_type_tag attribute"

This reverts commits 737e4216c537c33aab8ec51880f06b8a54325b94 and
ce7ac9e66aba2b937b3d3b5505ce6cc75dcc56ac.

After those commits, the compiler can crash with a reduced
testcase like this:

$ cat reduced.c
void a(*);
void a() {}
$ clang -c reduced.c -O2 -g




More information about the All-commits mailing list