[all-commits] [llvm/llvm-project] aad244: Revert "AddGlobalAnnotations for function with or ...
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Thu Oct 21 04:09:22 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: aad244dfc566236e9d3ef48c7aea3616bb6aab14
https://github.com/llvm/llvm-project/commit/aad244dfc566236e9d3ef48c7aea3616bb6aab14
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2021-10-21 (Thu, 21 Oct 2021)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/test/CodeGen/annotations-global.c
M clang/test/CodeGenCXX/attr-annotate.cpp
Log Message:
-----------
Revert "AddGlobalAnnotations for function with or without function body."
This reverts commit 121b2252de0eed68f2ddf5f09e924a6c35423d47.
The following code causes a crash in some circumstances:
struct k {
~k() __attribute__((annotate(""))) {}
};
void m() { k(); }
More information about the All-commits
mailing list