Re: [PATCH] D111109: AddGlobalAnnotations for function with or without function body.

2021-10-21 Thread Alexander Kornienko via cfe-commits
more.edu ; > jlero...@apple.com ; chris.biene...@me.com < > chris.biene...@me.com>; aaron.ball...@gmail.com > *Cc:* ale...@google.com ; ndesaulni...@google.com < > ndesaulni...@google.com>; cfe-commits@lists.llvm.org < > cfe-commits@lists.llvm.org>; david.gr...@a

Re: [PATCH] D111109: AddGlobalAnnotations for function with or without function body.

2021-10-21 Thread Aaron Ballman via cfe-commits
On Wed, Oct 20, 2021 at 5:28 PM stan li wrote: > > Hi Alex, > > I’ll take a look. Not sure how long it takes though. > > Please revert it. I don’t have the permission to commit yet. I've reverted in aad244dfc566236e9d3ef48c7aea3616bb6aab14 while the crash is being investigated. ~Aaron __

RE: [PATCH] D111109: AddGlobalAnnotations for function with or without function body.

2021-10-21 Thread stan li via cfe-commits
.biene...@me.com ; aaron.ball...@gmail.com Cc: ale...@google.com ; ndesaulni...@google.com ; cfe-commits@lists.llvm.org ; david.gr...@arm.com ; ruiling.s...@amd.com Subject: [PATCH] D111109: AddGlobalAnnotations for function with or without function body. alexfh added a comment. Reduced th

RE: [PATCH] D111109: AddGlobalAnnotations for function with or without function body.

2021-10-21 Thread stan li via cfe-commits
.@google.com<mailto:ndesaulni...@google.com>; cfe-commits@lists.llvm.org<mailto:cfe-commits@lists.llvm.org>; david.gr...@arm.com<mailto:david.gr...@arm.com>; ruiling.s...@amd.com<mailto:ruiling.s...@amd.com> Subject: [PATCH] D09: AddGlobalAnnotations for function with or wi

[PATCH] D111109: AddGlobalAnnotations for function with or without function body.

2021-10-20 Thread Alexander Kornienko via Phabricator via cfe-commits
alexfh added a comment. Reduced the test further to: struct k { ~k() __attribute__((annotate(""))) {} }; void m() { k(); } Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D09/new/ https://reviews.llvm.org/D09 __

[PATCH] D111109: AddGlobalAnnotations for function with or without function body.

2021-10-20 Thread Alexander Kornienko via Phabricator via cfe-commits
alexfh added a comment. Reduced test case: template void b(a); template class d { public: class e { public: c *f(); }; e *g(); }; template class j; template class j { public: class k { public: k(int *); ~k(); }; int n(); d l;

[PATCH] D111109: AddGlobalAnnotations for function with or without function body.

2021-10-19 Thread Alexander Kornienko via Phabricator via cfe-commits
alexfh added a comment. It looks like this patch causes clang to crash on valid code with the following stack trace: #0 0x560442f12f45 SignalHandler(int) #1 0x7ffac7c789a0 __restore_rt #2 0x560440083992 llvm::LazyCallGraph::Node::populateSlow() #3 0x560440082a60 llvm:

[PATCH] D111109: AddGlobalAnnotations for function with or without function body.

2021-10-11 Thread Xiang Li via Phabricator via cfe-commits
python3kgae added a comment. Thanks for the review, the PR is committed. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D09/new/ https://reviews.llvm.org/D09 ___ cfe-commits mailing list cfe-commit

[PATCH] D111109: AddGlobalAnnotations for function with or without function body.

2021-10-11 Thread Chris Bieneman via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG121b2252de0e: AddGlobalAnnotations for function with or without function body. (authored by beanz). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D09/new/

[PATCH] D111109: AddGlobalAnnotations for function with or without function body.

2021-10-11 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman accepted this revision. aaron.ballman added a comment. This revision is now accepted and ready to land. LGTM, thanks! Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D09/new/ https://reviews.llvm.org/D09

[PATCH] D111109: AddGlobalAnnotations for function with or without function body.

2021-10-08 Thread Xiang Li via Phabricator via cfe-commits
python3kgae added a comment. Updated summary. Tried to debug the linux fail with Hyper-V VM, cannot repro. Restarted Buildkite build to see if it still happens. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D09/new/ https://reviews.llvm.org/D11

[PATCH] D111109: AddGlobalAnnotations for function with or without function body.

2021-10-06 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman added a comment. I think this is reasonable, but can you update the summary to also explain why these changes are useful? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D09/new/ https://reviews.llvm.org/D09 ___

[PATCH] D111109: AddGlobalAnnotations for function with or without function body.

2021-10-05 Thread Xiang Li via Phabricator via cfe-commits
python3kgae updated this revision to Diff 377323. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D09/new/ https://reviews.llvm.org/D09 Files: clang/lib/CodeGen/CodeGenModule.cpp clang/test/CodeGen/annotations-global.c clang/test/CodeGenC

[PATCH] D111109: AddGlobalAnnotations for function with or without function body.

2021-10-04 Thread Xiang Li via Phabricator via cfe-commits
python3kgae created this revision. python3kgae added a reviewer: clang. python3kgae added a project: clang. python3kgae requested review of this revision. Herald added a subscriber: cfe-commits. When AnnotateAttr is on a function, AddGlobalAnnotations is only called in CodeGenModule::EmitGlobalFu