Re: [PATCH] D24426: DebugInfo: Pass non-zero alignment to DIBuilder only if aligment was forced

2016-09-11 Thread Victor Leschuk via cfe-commits
vleschuk retitled this revision from "DebugInfo: use llvm::DINode::FlagAlignment to mark forcibly aligned data" to "DebugInfo: Pass non-zero alignment to DIBuilder only if aligment was forced". vleschuk updated the summary for this revision. vleschuk updated this revision to Diff 70965. vleschuk

Re: [PATCH] D24426: DebugInfo: Pass non-zero alignment to DIBuilder only if aligment was forced

2016-09-13 Thread Victor Leschuk via cfe-commits
vleschuk added inline comments. Comment at: lib/CodeGen/CGDebugInfo.cpp:608 @@ -608,2 +607,3 @@ uint64_t Size = CGM.getContext().getTypeSize(Ty); + uint64_t Align = 0; rnk wrote: > IMO this is what we should be doing everywhere, rather than manually

Re: [PATCH] D24426: DebugInfo: Pass non-zero alignment to DIBuilder only if aligment was forced

2016-09-13 Thread Victor Leschuk via cfe-commits
vleschuk added inline comments. Comment at: lib/CodeGen/CGDebugInfo.cpp:3691 @@ -3635,1 +3690,3 @@ + if (D->hasAttr()) +AlignInBits = D->getMaxAlignment(); StringRef DeclName, LinkageName; probinson wrote: > dblaikie wrote: > > is max alignment the right

[PATCH] D24426: DebugInfo: use llvm::DINode::FlagAlignment to mark forcibly aligned data

2016-09-09 Thread Victor Leschuk via cfe-commits
vleschuk created this revision. vleschuk added reviewers: echristo, aprantl, dblaikie, mehdi_amini. vleschuk added a subscriber: cfe-commits. Herald added a subscriber: mehdi_amini. Add llvm::DINode::FlagAlignment to entities marked with C++11 'alignas', C11 '_Alignas' keywords or ObjC clang

Re: [PATCH] D24426: DebugInfo: use llvm::DINode::FlagAlignment to mark forcibly aligned data

2016-09-09 Thread Victor Leschuk via cfe-commits
vleschuk added inline comments. Comment at: lib/CodeGen/CGDebugInfo.cpp:979 @@ -978,4 +978,3 @@ llvm::DIType * -CGDebugInfo::createFieldType(StringRef name, QualType type, SourceLocation loc, - AccessSpecifier AS, uint64_t offsetInBits, -

Re: [PATCH] D24426: DebugInfo: use llvm::DINode::FlagAlignment to mark forcibly aligned data

2016-09-09 Thread Victor Leschuk via cfe-commits
vleschuk updated this revision to Diff 70949. vleschuk added a comment. Reverted formatting changes. https://reviews.llvm.org/D24426 Files: lib/CodeGen/CGDebugInfo.cpp lib/CodeGen/CGDebugInfo.h Index: lib/CodeGen/CGDebugInfo.h

Re: [PATCH] D24426: DebugInfo: use llvm::DINode::FlagAlignment to mark forcibly aligned data

2016-09-09 Thread Victor Leschuk via cfe-commits
vleschuk marked 2 inline comments as done. vleschuk added a comment. https://reviews.llvm.org/D24426 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D24426: DebugInfo: Pass non-zero alignment to DIBuilder only if aligment was forced

2016-10-04 Thread Victor Leschuk via cfe-commits
vleschuk updated this revision to Diff 73537. vleschuk added a comment. Pass alignment in bits instead of bytes to backend (conversion is done when emitting DW_AT_alignment). https://reviews.llvm.org/D24426 Files: lib/CodeGen/CGDebugInfo.cpp lib/CodeGen/CGDebugInfo.h

[PATCH] D24426: DebugInfo: Pass non-zero alignment to DIBuilder only if aligment was forced

2016-10-03 Thread Victor Leschuk via cfe-commits
vleschuk updated this revision to Diff 73318. vleschuk added a comment. Fix code style: - Two overloaded methods instead of 1 template - lower-case-headed method names - static methods instead of anon namespace - extra new line between methods https://reviews.llvm.org/D24426 Files:

[PATCH] D24426: DebugInfo: Pass non-zero alignment to DIBuilder only if aligment was forced

2016-10-02 Thread Victor Leschuk via cfe-commits
vleschuk updated this revision to Diff 73228. vleschuk added a comment. - Move alignment detection into helper functions in anon namespace - Use updated LLVM DIBuilder API (from https://reviews.llvm.org/D24425) https://reviews.llvm.org/D24426 Files: lib/CodeGen/CGDebugInfo.cpp

[PATCH] D24426: DebugInfo: Pass non-zero alignment to DIBuilder only if aligment was forced

2016-10-02 Thread Victor Leschuk via cfe-commits
vleschuk marked 3 inline comments as done. vleschuk added inline comments. > vleschuk wrote in CGDebugInfo.cpp:608 > Will check if this works in all cases. I think it's worth putting this > snippet into helper function within anon namespace. That is correct for types, for particular decls we

r284683 - Upgrade debug-info-vla test: we do not pass default alignment now

2016-10-19 Thread Victor Leschuk via cfe-commits
Author: vleschuk Date: Wed Oct 19 19:37:07 2016 New Revision: 284683 URL: http://llvm.org/viewvc/llvm-project?rev=284683=rev Log: Upgrade debug-info-vla test: we do not pass default alignment now Modified: cfe/trunk/test/CodeGenCXX/debug-info-vla.cpp Modified:

[PATCH] D25621: DebugInfo: use uin32_t for alignment

2016-10-19 Thread Victor Leschuk via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL284651: DebugInfo: use uint32_t for alignment variables. (authored by vleschuk). Changed prior to commit: https://reviews.llvm.org/D25621?vs=75143=75241#toc Repository: rL LLVM

r284651 - DebugInfo: use uint32_t for alignment variables.

2016-10-19 Thread Victor Leschuk via cfe-commits
Author: vleschuk Date: Wed Oct 19 17:11:07 2016 New Revision: 284651 URL: http://llvm.org/viewvc/llvm-project?rev=284651=rev Log: DebugInfo: use uint32_t for alignment variables. LLVM now uses uint32_t for DebugInfo alignment for space efficiency, in this patch we change frontend

[PATCH] D24426: DebugInfo: Pass non-zero alignment to DIBuilder only if aligment was forced

2016-10-19 Thread Victor Leschuk via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL284679: DebugInfo: pass alignment value only if it was forced (authored by vleschuk). Changed prior to commit: https://reviews.llvm.org/D24426?vs=74686=75261#toc Repository: rL LLVM

r284679 - DebugInfo: pass alignment value only if it was forced

2016-10-19 Thread Victor Leschuk via cfe-commits
Author: vleschuk Date: Wed Oct 19 19:13:19 2016 New Revision: 284679 URL: http://llvm.org/viewvc/llvm-project?rev=284679=rev Log: DebugInfo: pass alignment value only if it was forced Preparation to implement DW_AT_alignment support: - We pass non-zero align value to DIBuilder only when

[PATCH] D25621: DebugInfo: use DIAlignment type.

2016-10-14 Thread Victor Leschuk via cfe-commits
vleschuk created this revision. vleschuk added reviewers: aprantl, mehdi_amini, dblaikie, echristo. vleschuk added a subscriber: cfe-commits. Use DIAlignment type introduced in https://reviews.llvm.org/D25620 https://reviews.llvm.org/D25621 Files: include/clang/AST/ASTContext.h

[PATCH] D24426: DebugInfo: Pass non-zero alignment to DIBuilder only if aligment was forced

2016-10-14 Thread Victor Leschuk via cfe-commits
vleschuk updated this revision to Diff 74686. vleschuk added a comment. Use DIAlignment type instead of uint64_t for alignment in DebugInfo. https://reviews.llvm.org/D24426 Files: lib/CodeGen/CGDebugInfo.cpp lib/CodeGen/CGDebugInfo.h test/CodeGen/debug-info-packed-struct.c

[PATCH] D25621: DebugInfo: use uin32_t for alignment

2016-10-19 Thread Victor Leschuk via cfe-commits
vleschuk updated this revision to Diff 75143. vleschuk added a comment. - Removed all changes non-related to CGDebugInfo: will post them in separate NFC patch which will switch all unsigned alignment entries to uint32_t. https://reviews.llvm.org/D25621 Files: lib/CodeGen/CGDebugInfo.cpp

[PATCH] D25621: DebugInfo: use uin32_t for alignment

2016-10-19 Thread Victor Leschuk via cfe-commits
vleschuk added a comment. In https://reviews.llvm.org/D25621#573671, @aprantl wrote: > This patch is conflating two set of changes: > (1) NFC: rename all occurrences of unsigned for alignment purposes in the > frontend with uint32_t > (2) shrink all debug-info-related alignment variables from

[PATCH] D25621: DebugInfo: use uin32_t for alignment

2016-10-18 Thread Victor Leschuk via cfe-commits
vleschuk added a comment. Can anyone take a look at this please? =) https://reviews.llvm.org/D25621 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D26145: DebugInfo: support for DW_TAG_atomic_type

2016-10-31 Thread Victor Leschuk via cfe-commits
vleschuk created this revision. vleschuk added reviewers: mehdi_amini, echristo, dblaikie, aprantl. vleschuk added a subscriber: cfe-commits. Mark C11 _Atomic variables with DW_TAG_atomic_type tag. This is the simplest way to achieve the goal: modifying Qualifiers results in much more changes

[PATCH] D26145: DebugInfo: support for DW_TAG_atomic_type

2016-10-31 Thread Victor Leschuk via cfe-commits
vleschuk added inline comments. Comment at: test/CodeGen/debug-info-atomic.c:3 + +// CHECK: !DIDerivedType(tag: DW_TAG_const_type +// CHECK: !DIDerivedType(tag: DW_TAG_atomic_type aprantl wrote: > Why do we need the const here? I thought it would be better to

[PATCH] D26145: DebugInfo: support for DW_TAG_atomic_type

2016-10-31 Thread Victor Leschuk via cfe-commits
vleschuk updated this revision to Diff 76441. vleschuk added a comment. Made test more strict: it now checks that variable i is atomic. https://reviews.llvm.org/D26145 Files: lib/CodeGen/CGDebugInfo.cpp test/CodeGen/debug-info-atomic.c Index: test/CodeGen/debug-info-atomic.c

[PATCH] D26145: DebugInfo: support for DW_TAG_atomic_type

2016-10-31 Thread Victor Leschuk via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL285625: DebugInfo: support for DW_TAG_atomic_type (authored by vleschuk). Changed prior to commit: https://reviews.llvm.org/D26145?vs=76441=76458#toc Repository: rL LLVM

r285625 - DebugInfo: support for DW_TAG_atomic_type

2016-10-31 Thread Victor Leschuk via cfe-commits
Author: vleschuk Date: Mon Oct 31 14:09:47 2016 New Revision: 285625 URL: http://llvm.org/viewvc/llvm-project?rev=285625=rev Log: DebugInfo: support for DW_TAG_atomic_type Mark C11 _Atomic variables with DW_TAG_atomic_type tag. Differential Revision: https://reviews.llvm.org/D26145 Added:

[PATCH] D25621: DebugInfo: use DIAlignment type.

2016-10-17 Thread Victor Leschuk via cfe-commits
vleschuk marked an inline comment as done. vleschuk added inline comments. Comment at: include/clang/AST/ASTContext.h:83 uint64_t Width; -unsigned Align; +llvm::DIAlignment Align; bool AlignIsRequired : 1; aprantl wrote: > I'm not sure we want

[PATCH] D25621: DebugInfo: use DIAlignment type.

2016-10-17 Thread Victor Leschuk via cfe-commits
vleschuk marked an inline comment as done. vleschuk added inline comments. Comment at: include/clang/AST/ASTContext.h:83 uint64_t Width; -unsigned Align; +llvm::DIAlignment Align; bool AlignIsRequired : 1; vleschuk wrote: > aprantl wrote: > >

[PATCH] D25621: DebugInfo: use DIAlignment type.

2016-10-17 Thread Victor Leschuk via cfe-commits
vleschuk updated this revision to Diff 74899. vleschuk added a comment. - Use uint32_t directly for alignment instead of creating typedef ofr it - Get rid of DebugInfo dependency in AST https://reviews.llvm.org/D25621 Files: include/clang/AST/ASTContext.h include/clang/AST/DeclBase.h

r309484 - Fix incorrect assertion condition.

2017-07-29 Thread Victor Leschuk via cfe-commits
Author: vleschuk Date: Sat Jul 29 01:18:38 2017 New Revision: 309484 URL: http://llvm.org/viewvc/llvm-project?rev=309484=rev Log: Fix incorrect assertion condition. Modified: cfe/trunk/lib/CodeGen/CGBuiltin.cpp Modified: cfe/trunk/lib/CodeGen/CGBuiltin.cpp URL:

Buildmaster restart

2017-08-02 Thread Victor Leschuk via cfe-commits
Hello everyone, LLVM buildmaster will be updated and restarted approximately at 08:00 AM PDT 4th August. -- Best Regards, Victor Leschuk | Software Engineer |Access Softek ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Buildmaster reconfig

2017-08-14 Thread Victor Leschuk via cfe-commits
Hello everyone, LLVM buildmaster was updated and restarted, downtime was about 2 minutes. -- Best Regards, Victor Leschuk | Software Engineer |Access Softek ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Buildmaster restart

2017-08-04 Thread Victor Leschuk via cfe-commits
Hello everyone, LLVM buildmaster was updated and restarted, downtime was about 2 minutes. -- Best Regards, Victor Leschuk | Software Engineer |Access Softek ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Lab is down

2017-08-02 Thread Victor Leschuk via cfe-commits
Hello all, buildbot is currently down due to hardware failure. We are currently working on it. Sorry for the inconvenience. -- Best Regards, Victor ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: Lab is down

2017-08-02 Thread Victor Leschuk via cfe-commits
There is power outage in the area where the servers are located. They say the power will be restored at 10:45 AM PDT, I'd estimate buildbot online time about ~12:00. On 08/02/2017 06:31 PM, Victor Leschuk wrote: > Hello all, buildbot is currently down due to hardware failure. We are > currently

Re: Lab is down

2017-08-02 Thread Victor Leschuk via cfe-commits
Buildbot is up and running. Sorry for the delay. On 08/02/2017 06:31 PM, Victor Leschuk wrote: > Hello all, buildbot is currently down due to hardware failure. We are > currently working on it. Sorry for the inconvenience. > -- Best Regards, Victor

Buildmaster restart

2017-07-27 Thread Victor Leschuk via cfe-commits
Hello everyone, LLVM buildmaster will be updated and restarted approximately at 08:00 AM PDT 28th July. -- Best Regards, Victor Leschuk | Software Engineer |Access Softek ___ cfe-commits mailing list cfe-commits@lists.llvm.org

ps4-buildslave2 will be disconnected from master

2017-08-17 Thread Victor Leschuk via cfe-commits
ps4-buildslave2 will be temporary disconnected from build master for debugging purposes. It will be done approximately at 6:00 PM PDT 18, Aug (Friday). -- Best Regards, Victor Leschuk | Software Engineer |Access Softek ___ cfe-commits mailing list

Re: ps4-buildslave2 will be disconnected from master

2017-08-19 Thread Victor Leschuk via cfe-commits
ps4-buildslave2 is now disconnected from buildmaster, it will be back online when we solve the problem with hanging tests. On 08/18/2017 12:03 AM, Victor Leschuk wrote: > ps4-buildslave2 will be temporary disconnected from build master for > debugging purposes. It will be done approximately at

ps4-buildslave1a down 08.23.2017

2017-08-22 Thread Victor Leschuk via cfe-commits
Hello all, ps4-buildslave1a is currently down. We are detecting the cause and will fix it ASAP. I will inform when it is accessible again. Sorry for the inconvenience. -- Best Regards, Victor Leschuk | Software Engineer |Access Softek ___

Re: ps4-buildslave1a down 08.23.2017

2017-08-23 Thread Victor Leschuk via cfe-commits
ps4-buildslave1a is back. On 08/23/2017 08:49 AM, Victor Leschuk wrote: > Hello all, ps4-buildslave1a is currently down. We are detecting the > cause and will fix it ASAP. I will inform when it is accessible again. > > Sorry for the inconvenience. > -- Best Regards, Victor Leschuk | Software

Re: Buildmaster restart 08.20.2017

2017-08-20 Thread Victor Leschuk via cfe-commits
Both buildmasters were updated and currently are up and running. On 08/20/2017 10:47 AM, Victor Leschuk wrote: > Hello everyone, > LLVM buildmasters (both main and staging) will be restarted in 2 hours > (~3:00 AM PDT). > -- Best Regards, Victor Leschuk | Software Engineer |Access Softek

Buildmaster restart 08.20.2017

2017-08-20 Thread Victor Leschuk via cfe-commits
Hello everyone, LLVM buildmasters (both main and staging) will be restarted in 2 hours (~3:00 AM PDT). -- Best Regards, Victor Leschuk | Software Engineer |Access Softek ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D35020: [Modules] Add ability to specify module name to module file mapping

2017-08-30 Thread Victor Leschuk via cfe-commits
Hello Boris, looks like this revision broke tests on our win10 builder: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/11760 Clang :: CXX/modules-ts/basic/basic.link/module-declaration.cpp I had to revert this revision. Could you please take a look?

r312112 - Revert r312105 [modules] Add ability to specify module name to module file mapping

2017-08-30 Thread Victor Leschuk via cfe-commits
Author: vleschuk Date: Wed Aug 30 04:31:56 2017 New Revision: 312112 URL: http://llvm.org/viewvc/llvm-project?rev=312112=rev Log: Revert r312105 [modules] Add ability to specify module name to module file mapping Looks like it breaks win10 builder. Removed: