Revert "[Attr] support btf_type_tag attribute"
authorMartin Storsjö <martin@martin.st>
Fri, 5 Nov 2021 08:12:20 +0000 (10:12 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 5 Nov 2021 08:36:40 +0000 (10:36 +0200)
commitf95bd18b5faa6a5af4b5786312c373c5b2dce687
tree5f1288a68e31326251b51093bcbe3abbe7e9560a
parent7af584ed87cc6eddb6adbc451c90fb8867469e06
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
clang/lib/CodeGen/CGDebugInfo.cpp
clang/lib/CodeGen/CGDebugInfo.h
clang/test/CodeGen/attr-btf_type_tag-func.c [deleted file]
clang/test/CodeGen/attr-btf_type_tag-typedef-field.c [deleted file]
clang/test/CodeGen/attr-btf_type_tag-var.c [deleted file]
llvm/include/llvm/IR/DIBuilder.h
llvm/lib/IR/DIBuilder.cpp
llvm/test/Bitcode/attr-btf_type_tag.ll [deleted file]
llvm/test/DebugInfo/attr-btf_type_tag.ll [deleted file]