r361372 - [ARM][AArch64] Fix incorrect handling of alignment in va_arg code generation

2019-05-22 Thread John Brawn via cfe-commits
Author: john.brawn Date: Wed May 22 04:42:54 2019 New Revision: 361372 URL: http://llvm.org/viewvc/llvm-project?rev=361372&view=rev Log: [ARM][AArch64] Fix incorrect handling of alignment in va_arg code generation Overaligned and underaligned types (i.e. types where the alignment has been increas

[libunwind] r373628 - [libunwind] Adjust libunwind_01.pass.cpp test for ARM EHABI

2019-10-03 Thread John Brawn via cfe-commits
Author: john.brawn Date: Thu Oct 3 10:01:04 2019 New Revision: 373628 URL: http://llvm.org/viewvc/llvm-project?rev=373628&view=rev Log: [libunwind] Adjust libunwind_01.pass.cpp test for ARM EHABI ARM EHABI unwinding tables only store the start address of each function, so the last function is as

[clang] 6c906f7 - [Sema] Diagnose more cases of static data members in local or unnamed classes

2020-05-26 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2020-05-26T13:29:59+01:00 New Revision: 6c906f7785dad3a1dea5357cfde0762952c2a2bd URL: https://github.com/llvm/llvm-project/commit/6c906f7785dad3a1dea5357cfde0762952c2a2bd DIFF: https://github.com/llvm/llvm-project/commit/6c906f7785dad3a1dea5357cfde0762952c2a2bd.diff LO

[clang] ce1fa20 - [Driver] When forcing a crash print the bug report message

2020-06-29 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2020-06-29T13:13:12+01:00 New Revision: ce1fa201af77e60d31b48571ffa1f85b919f6245 URL: https://github.com/llvm/llvm-project/commit/ce1fa201af77e60d31b48571ffa1f85b919f6245 DIFF: https://github.com/llvm/llvm-project/commit/ce1fa201af77e60d31b48571ffa1f85b919f6245.diff LO

[clang] [llvm] [clang][AArch64] Add a -mbranch-protection option to enable GCS (PR #75486)

2023-12-14 Thread John Brawn via cfe-commits
https://github.com/john-brawn-arm created https://github.com/llvm/llvm-project/pull/75486 -mbranch-protection=gcs (enabled by -mbranch-protection=standard) causes generated objects to be marked with the gcs feature. This is done via the guarded-control-stack module flag, in a similar way to b

[clang] [llvm] [clang][AArch64] Add a -mbranch-protection option to enable GCS (PR #75486)

2024-01-02 Thread John Brawn via cfe-commits
https://github.com/john-brawn-arm updated https://github.com/llvm/llvm-project/pull/75486 >From cceb8766d2c93cadc940b45f0817abc5e6d0a225 Mon Sep 17 00:00:00 2001 From: John Brawn Date: Wed, 13 Dec 2023 16:20:33 + Subject: [PATCH] [clang][AArch64] Add a -mbranch-protection option to enable

[llvm] [clang] [clang][AArch64] Add a -mbranch-protection option to enable GCS (PR #75486)

2024-01-10 Thread John Brawn via cfe-commits
john-brawn-arm wrote: Ping. https://github.com/llvm/llvm-project/pull/75486 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] [clang][AArch64] Add a -mbranch-protection option to enable GCS (PR #75486)

2024-01-11 Thread John Brawn via cfe-commits
https://github.com/john-brawn-arm closed https://github.com/llvm/llvm-project/pull/75486 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 1b1466c - [AArch64] Adjust aarch64 constrained intrinsics tests and un-XFAIL

2022-04-14 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2022-04-14T16:51:22+01:00 New Revision: 1b1466c346694c02ff0e30c96a50701b58bc4830 URL: https://github.com/llvm/llvm-project/commit/1b1466c346694c02ff0e30c96a50701b58bc4830 DIFF: https://github.com/llvm/llvm-project/commit/1b1466c346694c02ff0e30c96a50701b58bc4830.diff LO

[clang] bca998e - [AArch64] Generate fcmps when appropriate for neon intrinsics

2022-02-04 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2022-02-04T12:55:38Z New Revision: bca998ed3c9a2e520724baa5d9395f6a5d8ca49d URL: https://github.com/llvm/llvm-project/commit/bca998ed3c9a2e520724baa5d9395f6a5d8ca49d DIFF: https://github.com/llvm/llvm-project/commit/bca998ed3c9a2e520724baa5d9395f6a5d8ca49d.diff LOG: [A

[clang] [llvm] [DebugInfo] Use DW_op_bit_piece for structured bindings of bitfields (PR #85665)

2024-03-18 Thread John Brawn via cfe-commits
https://github.com/john-brawn-arm created https://github.com/llvm/llvm-project/pull/85665 Currently we use DW_OP_plus_uconst to handle the bitfield offset and handle the bitfield size by choosing a type size that matches, but this doesn't work if either offset or size aren't byte-aligned. Usin

[clang] [llvm] [DebugInfo] Use DW_op_bit_piece for structured bindings of bitfields (PR #85665)

2024-03-19 Thread John Brawn via cfe-commits
@@ -8,8 +8,8 @@ struct S0 { // CHECK-LABEL: define dso_local void @_Z3fS0v // CHECK:alloca %struct.S0, align 4 // CHECK-NEXT:[[TMP0:%.*]] = alloca %struct.S0, align 4 -// CHECK: call void @llvm.dbg.declare(metadata ptr [[TMP0]], metadata [[S

[clang] 0c66606 - [Driver] Incorporate -mfloat-abi in the computed triple on ARM

2020-10-21 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2020-10-21T11:19:38+01:00 New Revision: 0c66606230df39e0bf4190f1fc2c2e2fb37a81ea URL: https://github.com/llvm/llvm-project/commit/0c66606230df39e0bf4190f1fc2c2e2fb37a81ea DIFF: https://github.com/llvm/llvm-project/commit/0c66606230df39e0bf4190f1fc2c2e2fb37a81ea.diff LO

[clang] ba60de5 - Use -### in arm-float-abi.c test

2020-10-21 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2020-10-21T17:40:02+01:00 New Revision: ba60de5250ce1c4baa4a7bb7098ac67349f88a99 URL: https://github.com/llvm/llvm-project/commit/ba60de5250ce1c4baa4a7bb7098ac67349f88a99 DIFF: https://github.com/llvm/llvm-project/commit/ba60de5250ce1c4baa4a7bb7098ac67349f88a99.diff LO

[clang] dfca883 - [Sema] Fix handling of functions that hide classes

2023-07-24 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-07-24T13:11:30+01:00 New Revision: dfca88341794eec88c5009a93c569172fff62635 URL: https://github.com/llvm/llvm-project/commit/dfca88341794eec88c5009a93c569172fff62635 DIFF: https://github.com/llvm/llvm-project/commit/dfca88341794eec88c5009a93c569172fff62635.diff LO

[clang] dc3cd59 - Revert "[Sema] Fix handling of functions that hide classes"

2023-07-24 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-07-24T13:30:26+01:00 New Revision: dc3cd5926423c56d4673308617f035713aa024d6 URL: https://github.com/llvm/llvm-project/commit/dc3cd5926423c56d4673308617f035713aa024d6 DIFF: https://github.com/llvm/llvm-project/commit/dc3cd5926423c56d4673308617f035713aa024d6.diff LO

[clang] d031ff3 - [Sema] Fix handling of functions that hide classes

2023-07-25 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-07-25T12:30:41+01:00 New Revision: d031ff38779bd688c514136dbdcce3169ee82b6e URL: https://github.com/llvm/llvm-project/commit/d031ff38779bd688c514136dbdcce3169ee82b6e DIFF: https://github.com/llvm/llvm-project/commit/d031ff38779bd688c514136dbdcce3169ee82b6e.diff LO

[clang] 6244e38 - [Sema] Add tests for handling of decls hidden by invalid decls

2023-08-17 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-08-17T15:25:53+01:00 New Revision: 6244e3840694e513ef885e8505e7744de8c9b959 URL: https://github.com/llvm/llvm-project/commit/6244e3840694e513ef885e8505e7744de8c9b959 DIFF: https://github.com/llvm/llvm-project/commit/6244e3840694e513ef885e8505e7744de8c9b959.diff LO

[clang] 9e11a6d - [Sema] Fix handling of functions that hide classes

2023-08-18 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-08-18T12:39:37+01:00 New Revision: 9e11a6d8fdd745f20bada10473b701d2e21492a5 URL: https://github.com/llvm/llvm-project/commit/9e11a6d8fdd745f20bada10473b701d2e21492a5 DIFF: https://github.com/llvm/llvm-project/commit/9e11a6d8fdd745f20bada10473b701d2e21492a5.diff LO

[clang] 4ade8b7 - [AST] Fix bug in UnresolvedSet::erase of last element

2023-07-05 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-07-05T16:02:40+01:00 New Revision: 4ade8b7ed9976303b23cff3525223826e65b46e7 URL: https://github.com/llvm/llvm-project/commit/4ade8b7ed9976303b23cff3525223826e65b46e7 DIFF: https://github.com/llvm/llvm-project/commit/4ade8b7ed9976303b23cff3525223826e65b46e7.diff LO

[clang] 2583221 - Fix compile error in UnresolvedSetTest.cpp with -Wall

2023-07-05 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-07-05T17:39:59+01:00 New Revision: 258322105892bd895a89ccbe89487885581f5a47 URL: https://github.com/llvm/llvm-project/commit/258322105892bd895a89ccbe89487885581f5a47 DIFF: https://github.com/llvm/llvm-project/commit/258322105892bd895a89ccbe89487885581f5a47.diff LO

[clang] 25784cd - Fix compile error in UnresolvedSetTest.cpp, again

2023-07-05 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-07-05T17:54:50+01:00 New Revision: 25784cd6a962ac59e7bde07761fc3ba450da6628 URL: https://github.com/llvm/llvm-project/commit/25784cd6a962ac59e7bde07761fc3ba450da6628 DIFF: https://github.com/llvm/llvm-project/commit/25784cd6a962ac59e7bde07761fc3ba450da6628.diff LO

[clang] 626c789 - Fix compile error in UnresolvedSetTest.cpp, hopefully the last one

2023-07-06 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-07-06T11:54:45+01:00 New Revision: 626c789d92bc917e7db30478e9b6d4c9b567ee17 URL: https://github.com/llvm/llvm-project/commit/626c789d92bc917e7db30478e9b6d4c9b567ee17 DIFF: https://github.com/llvm/llvm-project/commit/626c789d92bc917e7db30478e9b6d4c9b567ee17.diff LO

[clang] 9e3264a - [FPEnv] Enable strict fp for AArch64 in clang

2022-11-21 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2022-11-21T16:02:54Z New Revision: 9e3264ab2021e07246e2cb491497d9cd514c213c URL: https://github.com/llvm/llvm-project/commit/9e3264ab2021e07246e2cb491497d9cd514c213c DIFF: https://github.com/llvm/llvm-project/commit/9e3264ab2021e07246e2cb491497d9cd514c213c.diff LOG: [F

[clang] 6b8900f - [clang][CodeGen] Add default attributes to __clang_call_terminate

2022-11-29 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2022-11-29T13:09:52Z New Revision: 6b8900f7f91de489302886c7e48033407d13f8c1 URL: https://github.com/llvm/llvm-project/commit/6b8900f7f91de489302886c7e48033407d13f8c1 DIFF: https://github.com/llvm/llvm-project/commit/6b8900f7f91de489302886c7e48033407d13f8c1.diff LOG: [c

[clang] fa0320d - Add ParsedAttrInfo::handleDeclAttribute

2020-03-23 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2020-03-23T13:23:11Z New Revision: fa0320dd8d5aa6ea920ac78224d5044398ba50b4 URL: https://github.com/llvm/llvm-project/commit/fa0320dd8d5aa6ea920ac78224d5044398ba50b4 DIFF: https://github.com/llvm/llvm-project/commit/fa0320dd8d5aa6ea920ac78224d5044398ba50b4.diff LOG: Ad

[clang] bc3f171 - Don't normalise CXX11/C2X attribute names to start with ::

2020-03-25 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2020-03-25T14:33:44Z New Revision: bc3f171090f6d9f84a5d7b333bc70a1e14afffd4 URL: https://github.com/llvm/llvm-project/commit/bc3f171090f6d9f84a5d7b333bc70a1e14afffd4 DIFF: https://github.com/llvm/llvm-project/commit/bc3f171090f6d9f84a5d7b333bc70a1e14afffd4.diff LOG: Do

[clang] 3f03c12 - Add an attribute plugin example

2020-03-25 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2020-03-25T14:33:44Z New Revision: 3f03c12a51be656c595301ace832c24a68601ee2 URL: https://github.com/llvm/llvm-project/commit/3f03c12a51be656c595301ace832c24a68601ee2 DIFF: https://github.com/llvm/llvm-project/commit/3f03c12a51be656c595301ace832c24a68601ee2.diff LOG: Ad

Re: [clang] c278e8f - Build fix: AttributeCommonInfo::AS_C2x

2020-03-25 Thread John Brawn via cfe-commits
Thanks, I was about to fix that myself (I was sure I'd built and tested everything before committing, but it appears I failed somehow). John From: cfe-commits on behalf of Hans Wennborg via cfe-commits Sent: 25 March 2020 14:43 To: cfe-commits@lists.llvm.org

[clang] 0cff81c - Add a release note for attribute plugins

2020-03-26 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2020-03-26T15:01:57Z New Revision: 0cff81cff05d8e0a24391e3dec5b97174351ea55 URL: https://github.com/llvm/llvm-project/commit/0cff81cff05d8e0a24391e3dec5b97174351ea55 DIFF: https://github.com/llvm/llvm-project/commit/0cff81cff05d8e0a24391e3dec5b97174351ea55.diff LOG: Ad

[clang] 590dc8d - Use virtual functions in ParsedAttrInfo instead of function pointers

2020-02-26 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2020-02-26T17:24:30Z New Revision: 590dc8d02cd781b110a87b82476c3557cb5957c3 URL: https://github.com/llvm/llvm-project/commit/590dc8d02cd781b110a87b82476c3557cb5957c3 DIFF: https://github.com/llvm/llvm-project/commit/590dc8d02cd781b110a87b82476c3557cb5957c3.diff LOG: Us

[clang] 75d4d4b - Add an attribute registry so plugins can add attributes

2020-02-27 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2020-02-27T17:23:16Z New Revision: 75d4d4bd028f6a5f24ef41dbbc45bed65b2305cf URL: https://github.com/llvm/llvm-project/commit/75d4d4bd028f6a5f24ef41dbbc45bed65b2305cf DIFF: https://github.com/llvm/llvm-project/commit/75d4d4bd028f6a5f24ef41dbbc45bed65b2305cf.diff LOG: Ad

[clang] 2bb3fb0 - Handle PluginAttrInstances using ManagedStatic

2020-03-04 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2020-03-04T15:03:13Z New Revision: 2bb3fb05e20e272790170e86fb76dac23a67f52c URL: https://github.com/llvm/llvm-project/commit/2bb3fb05e20e272790170e86fb76dac23a67f52c DIFF: https://github.com/llvm/llvm-project/commit/2bb3fb05e20e272790170e86fb76dac23a67f52c.diff LOG: Ha

[clang] 72073fc - [Serialization] Place command line defines in the correct file

2023-03-20 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-03-20T17:36:01Z New Revision: 72073fc95cd4793a853925ddc8cc3fb2118808a5 URL: https://github.com/llvm/llvm-project/commit/72073fc95cd4793a853925ddc8cc3fb2118808a5 DIFF: https://github.com/llvm/llvm-project/commit/72073fc95cd4793a853925ddc8cc3fb2118808a5.diff LOG: [S

[clang] 128f7da - [Lex] Use line markers in preprocessed assembly predefines file

2023-03-07 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-03-07T16:20:43Z New Revision: 128f7dac82ea4b996ddfd0db86edfdac4013b1da URL: https://github.com/llvm/llvm-project/commit/128f7dac82ea4b996ddfd0db86edfdac4013b1da DIFF: https://github.com/llvm/llvm-project/commit/128f7dac82ea4b996ddfd0db86edfdac4013b1da.diff LOG: [L

[clang] 9b28954 - Use explicit target in clang/test/Preprocessor/directives_asm.S

2023-03-07 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-03-07T18:06:41Z New Revision: 9b2895469badad470dca186801fe025c52f5364c URL: https://github.com/llvm/llvm-project/commit/9b2895469badad470dca186801fe025c52f5364c DIFF: https://github.com/llvm/llvm-project/commit/9b2895469badad470dca186801fe025c52f5364c.diff LOG: Us

[clang] 78bf8a0 - [clang] Don't define predefined macros multiple times

2023-05-24 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-05-24T17:28:41+01:00 New Revision: 78bf8a0a2212c1826ce2a9c0f98c73e9b9b16367 URL: https://github.com/llvm/llvm-project/commit/78bf8a0a2212c1826ce2a9c0f98c73e9b9b16367 DIFF: https://github.com/llvm/llvm-project/commit/78bf8a0a2212c1826ce2a9c0f98c73e9b9b16367.diff LO

[clang] 0123deb - [Lex] Warn when defining or undefining any builtin macro

2023-05-25 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-05-25T11:55:44+01:00 New Revision: 0123deb3a6f0a83095287f51b07c77b7b43ab847 URL: https://github.com/llvm/llvm-project/commit/0123deb3a6f0a83095287f51b07c77b7b43ab847 DIFF: https://github.com/llvm/llvm-project/commit/0123deb3a6f0a83095287f51b07c77b7b43ab847.diff LO

[clang] 844e953 - [Lex] Only warn on defining or undefining language-defined builtins

2023-06-01 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-06-01T17:37:50+01:00 New Revision: 844e9534c6d99ddb6bada740839760fa24d17cb6 URL: https://github.com/llvm/llvm-project/commit/844e9534c6d99ddb6bada740839760fa24d17cb6 DIFF: https://github.com/llvm/llvm-project/commit/844e9534c6d99ddb6bada740839760fa24d17cb6.diff LO

[clang] 463fa25 - [clang][NFC] Adjust tests to not un/define predefined macros

2023-02-14 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-02-14T13:55:03Z New Revision: 463fa25c34d6e569862a9b74b24db3aa5522d84b URL: https://github.com/llvm/llvm-project/commit/463fa25c34d6e569862a9b74b24db3aa5522d84b DIFF: https://github.com/llvm/llvm-project/commit/463fa25c34d6e569862a9b74b24db3aa5522d84b.diff LOG: [c

[clang] 25d23b1 - [Clang][NFC] Remove pointless defines from test command lines

2023-02-23 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-02-23T16:18:24Z New Revision: 25d23b1970ea023d83d462402fd43038b41c13a3 URL: https://github.com/llvm/llvm-project/commit/25d23b1970ea023d83d462402fd43038b41c13a3 DIFF: https://github.com/llvm/llvm-project/commit/25d23b1970ea023d83d462402fd43038b41c13a3.diff LOG: [C

[clang] 22e3f58 - [Lex] Warn when defining or undefining any builtin macro

2023-05-17 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-05-17T11:49:49+01:00 New Revision: 22e3f587fd1ff97185014cb1ba723579ed2150d3 URL: https://github.com/llvm/llvm-project/commit/22e3f587fd1ff97185014cb1ba723579ed2150d3 DIFF: https://github.com/llvm/llvm-project/commit/22e3f587fd1ff97185014cb1ba723579ed2150d3.diff LO

[clang] e55d52c - [AArch64] Don't redefine _LP64 and __LP64__

2023-05-17 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-05-17T15:21:20+01:00 New Revision: e55d52cd34fb7a6a6617639d147b9d0abaceeeab URL: https://github.com/llvm/llvm-project/commit/e55d52cd34fb7a6a6617639d147b9d0abaceeeab DIFF: https://github.com/llvm/llvm-project/commit/e55d52cd34fb7a6a6617639d147b9d0abaceeeab.diff LO

[clang-tools-extra] 524ed4b - [Serialization] Place command line defines in the correct file

2023-04-24 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-04-24T14:07:41+01:00 New Revision: 524ed4b1ba518d5dd5d67fb9593e0864b0e664a4 URL: https://github.com/llvm/llvm-project/commit/524ed4b1ba518d5dd5d67fb9593e0864b0e664a4 DIFF: https://github.com/llvm/llvm-project/commit/524ed4b1ba518d5dd5d67fb9593e0864b0e664a4.diff LO

[clang] 78086af - [Serialization] Correctly handle special files when deserializing

2023-04-24 Thread John Brawn via cfe-commits
Author: John Brawn Date: 2023-04-24T15:35:37+01:00 New Revision: 78086af43ade0c91546a2688bb6e97906eee6c2a URL: https://github.com/llvm/llvm-project/commit/78086af43ade0c91546a2688bb6e97906eee6c2a DIFF: https://github.com/llvm/llvm-project/commit/78086af43ade0c91546a2688bb6e97906eee6c2a.diff LO

Re: [PATCH] D23662: [libclang] Control whether crash recovery is enabled/disabled using function argument.

2016-08-18 Thread John Brawn via cfe-commits
john.brawn added a subscriber: john.brawn. john.brawn added a comment. > When my Java application calls clang_createIndex() with crash recovery > enabled it replaces the JVM's segfault handler with > CrashRecoverySignalHandler and now this handler gets all the segfault signals > that would have

r297837 - [Driver] Restructure handling of -ffast-math and similar options

2017-03-15 Thread John Brawn via cfe-commits
Author: john.brawn Date: Wed Mar 15 09:03:32 2017 New Revision: 297837 URL: http://llvm.org/viewvc/llvm-project?rev=297837&view=rev Log: [Driver] Restructure handling of -ffast-math and similar options The way -ffast-math and the various related options to tweak floating-point handling are handle

RE: Potential self-hosting failure

2017-05-16 Thread John Brawn via cfe-commits
I've managed to reproduce this, but no luck so far in figuring out what exactly is going wrong. I'll continue looking into it tomorrow. John > -Original Message- > From: Renato Golin [mailto:renato.go...@linaro.org] > Sent: 16 May 2017 12:18 > To: John Brawn > Cc: James Molloy; Diana Picu

RE: Potential self-hosting failure

2017-05-17 Thread John Brawn via cfe-commits
I've now tracked this down to a problem with LEApcrel rematerialization where the rematerialized LEApcrel can address a different literal pool to the original. I've raised https://bugs.llvm.org/show_bug.cgi?id=33074 This is actually a bug that already existed before my patches, but because my patc

[PATCH] D12903: Allow the -load option in the driver and pass it through to -cc1

2015-09-16 Thread John Brawn via cfe-commits
john.brawn created this revision. john.brawn added a subscriber: cfe-commits. john.brawn set the repository for this revision to rL LLVM. Currently -load is only allowed in the -cc1 command, which makes it rather awkward to use. Allowing it in the driver and passing it through to -cc1 is much mo

Re: [PATCH] D12903: Allow the -load option in the driver and pass it through to -cc1

2015-09-16 Thread John Brawn via cfe-commits
john.brawn added a comment. In http://reviews.llvm.org/D12903#247055, @rengolin wrote: > Hi John, > > Can you expand a bit more on why you need this, what's the use case, and > hopefully attach a test for them? The use-case is loading llvm plugins that add optimization passes via the PassMana

Re: [PATCH] D12903: Allow the -load option in the driver and pass it through to -cc1

2015-09-17 Thread John Brawn via cfe-commits
john.brawn updated this revision to Diff 34977. john.brawn added a comment. Add a test. Repository: rL LLVM http://reviews.llvm.org/D12903 Files: include/clang/Driver/CC1Options.td include/clang/Driver/Options.td lib/Driver/Tools.cpp test/Driver/load.c Index: test/Driver/load.c

Re: [PATCH] D12903: Allow the -load option in the driver and pass it through to -cc1

2015-09-17 Thread John Brawn via cfe-commits
john.brawn added a comment. In http://reviews.llvm.org/D12903#247934, @compnerd wrote: > While I agree that this makes the option much nicer to use, it collides with > the -l flag. Since it was an internal only option until this point, we > should rename it before exposing it at the driver lev

Re: [PATCH] D12903: Add -fplugin=name.so option to the driver

2015-09-17 Thread John Brawn via cfe-commits
john.brawn retitled this revision from "Allow the -load option in the driver and pass it through to -cc1" to "Add -fplugin=name.so option to the driver". john.brawn updated the summary for this revision. john.brawn updated this revision to Diff 35014. john.brawn added a comment. Rename option fro

Re: [PATCH] D12903: Add -fplugin=name.so option to the driver

2015-09-18 Thread John Brawn via cfe-commits
john.brawn added a comment. In http://reviews.llvm.org/D12903#248453, @compnerd wrote: > Do you know if GCC requires the = or can you do -fplugin name.so ? GCC requires the =, or at least GCC 5.1.0 does when I tested it (you get "gcc: error: name.so: No such file or directory" and "gcc: error:

Re: [PATCH] D12903: Add -fplugin=name.so option to the driver

2015-09-23 Thread John Brawn via cfe-commits
john.brawn added a comment. In http://reviews.llvm.org/D12903#251361, @rengolin wrote: > In http://reviews.llvm.org/D12903#249406, @thakis wrote: > > > Also also, this approach fundamentally doesn't work on Windows. > > > I don't think it's supposed to, anyway. :) Actually, I think it can work

r248378 - Add -fplugin=name.so option to the driver

2015-09-23 Thread John Brawn via cfe-commits
Author: john.brawn Date: Wed Sep 23 08:55:40 2015 New Revision: 248378 URL: http://llvm.org/viewvc/llvm-project?rev=248378&view=rev Log: Add -fplugin=name.so option to the driver This translates to -load name.so in the cc1 command. We can't name the driver option -load, as that means "link agains

Re: [PATCH] D12903: Add -fplugin=name.so option to the driver

2015-09-23 Thread John Brawn via cfe-commits
john.brawn closed this revision. john.brawn added a comment. Committed in r248378. Repository: rL LLVM http://reviews.llvm.org/D12903 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commi

[PATCH] D11980: Add test for PR24379

2015-08-12 Thread John Brawn via cfe-commits
john.brawn created this revision. john.brawn added reviewers: rafael, ab. john.brawn added a subscriber: cfe-commits. john.brawn set the repository for this revision to rL LLVM. The fix for this is in LLVM but it depends on how clang handles the alias attribute, so add a test to the clang tests t

r244756 - Add test for PR24379

2015-08-12 Thread John Brawn via cfe-commits
Author: john.brawn Date: Wed Aug 12 10:15:27 2015 New Revision: 244756 URL: http://llvm.org/viewvc/llvm-project?rev=244756&view=rev Log: Add test for PR24379 The fix for this is in LLVM but it depends on how clang handles the alias attribute, so add a test to the clang tests to make sure everythi

Re: [PATCH] D11980: Add test for PR24379

2015-08-12 Thread John Brawn via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL244756: Add test for PR24379 (authored by john.brawn). Changed prior to commit: http://reviews.llvm.org/D11980?vs=31939&id=31942#toc Repository: rL LLVM http://reviews.llvm.org/D11980 Files: cfe/t

r244760 - The alias.c test now requires arm-registered-target

2015-08-12 Thread John Brawn via cfe-commits
Author: john.brawn Date: Wed Aug 12 10:55:55 2015 New Revision: 244760 URL: http://llvm.org/viewvc/llvm-project?rev=244760&view=rev Log: The alias.c test now requires arm-registered-target This should fix a buildbot failure Modified: cfe/trunk/test/CodeGen/alias.c Modified: cfe/trunk/test/C

r244437 - [Driver] Fix handling of -fbuiltin/-fcommon when combined with -mkernel

2015-08-10 Thread John Brawn via cfe-commits
Author: john.brawn Date: Mon Aug 10 06:11:28 2015 New Revision: 244437 URL: http://llvm.org/viewvc/llvm-project?rev=244437&view=rev Log: [Driver] Fix handling of -fbuiltin/-fcommon when combined with -mkernel -mkernel enables -fno-builtin and -fno-common by default, but allows -fbuiltin and -fcom

Re: [PATCH] D11459: [Driver] Fix handling of -fbuiltin/-fcommon when combined with -mkernel

2015-08-10 Thread John Brawn via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL244437: [Driver] Fix handling of -fbuiltin/-fcommon when combined with -mkernel (authored by john.brawn). Changed prior to commit: http://reviews.llvm.org/D11459?vs=30478&id=31648#toc Repository: rL

Re: [PATCH] D22221: Decide whether to enable plugin tests based on cmake variables

2016-07-22 Thread John Brawn via cfe-commits
john.brawn added a comment. Ping. Repository: rL LLVM https://reviews.llvm.org/D1 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D21385: Adjust Registry interface to not require plugins to export a registry

2016-07-22 Thread John Brawn via cfe-commits
john.brawn added a comment. Ping. Repository: rL LLVM https://reviews.llvm.org/D21385 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D21385: Adjust Registry interface to not require plugins to export a registry

2016-07-27 Thread John Brawn via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL276856: Adjust Registry interface to not require plugins to export a registry (authored by john.brawn). Repository: rL LLVM https://reviews.llvm.org/D21385 Files: cfe/trunk/examples/AnnotateFunction

r276856 - Adjust Registry interface to not require plugins to export a registry

2016-07-27 Thread John Brawn via cfe-commits
Author: john.brawn Date: Wed Jul 27 06:18:38 2016 New Revision: 276856 URL: http://llvm.org/viewvc/llvm-project?rev=276856&view=rev Log: Adjust Registry interface to not require plugins to export a registry Currently the Registry class contains the vestiges of a previous attempt to allow plugins

r276857 - Revert r276856 "Adjust Registry interface to not require plugins to export a registry"

2016-07-27 Thread John Brawn via cfe-commits
Author: john.brawn Date: Wed Jul 27 06:41:18 2016 New Revision: 276857 URL: http://llvm.org/viewvc/llvm-project?rev=276857&view=rev Log: Revert r276856 "Adjust Registry interface to not require plugins to export a registry" This is causing a huge pile of buildbot failures. Modified: cfe/tru

[clang-tools-extra] r276973 - Reapply r276856 "Adjust Registry interface to not require plugins to export a registry"

2016-07-28 Thread John Brawn via cfe-commits
Author: john.brawn Date: Thu Jul 28 07:48:17 2016 New Revision: 276973 URL: http://llvm.org/viewvc/llvm-project?rev=276973&view=rev Log: Reapply r276856 "Adjust Registry interface to not require plugins to export a registry" This version has two fixes compared to the original: * In Registry.h t

r276973 - Reapply r276856 "Adjust Registry interface to not require plugins to export a registry"

2016-07-28 Thread John Brawn via cfe-commits
Author: john.brawn Date: Thu Jul 28 07:48:17 2016 New Revision: 276973 URL: http://llvm.org/viewvc/llvm-project?rev=276973&view=rev Log: Reapply r276856 "Adjust Registry interface to not require plugins to export a registry" This version has two fixes compared to the original: * In Registry.h t

[clang-tools-extra] r277008 - Revert r276973 "Adjust Registry interface to not require plugins to export a registry"

2016-07-28 Thread John Brawn via cfe-commits
Author: john.brawn Date: Thu Jul 28 12:17:22 2016 New Revision: 277008 URL: http://llvm.org/viewvc/llvm-project?rev=277008&view=rev Log: Revert r276973 "Adjust Registry interface to not require plugins to export a registry" Buildbot failures when building with clang -Werror. Reverting while I tr

r277008 - Revert r276973 "Adjust Registry interface to not require plugins to export a registry"

2016-07-28 Thread John Brawn via cfe-commits
Author: john.brawn Date: Thu Jul 28 12:17:22 2016 New Revision: 277008 URL: http://llvm.org/viewvc/llvm-project?rev=277008&view=rev Log: Revert r276973 "Adjust Registry interface to not require plugins to export a registry" Buildbot failures when building with clang -Werror. Reverting while I tr

r277806 - Reapply r276973 "Adjust Registry interface to not require plugins to export a registry"

2016-08-05 Thread John Brawn via cfe-commits
Author: john.brawn Date: Fri Aug 5 06:01:08 2016 New Revision: 277806 URL: http://llvm.org/viewvc/llvm-project?rev=277806&view=rev Log: Reapply r276973 "Adjust Registry interface to not require plugins to export a registry" This differs from the previous version by being more careful about temp

[clang-tools-extra] r277806 - Reapply r276973 "Adjust Registry interface to not require plugins to export a registry"

2016-08-05 Thread John Brawn via cfe-commits
Author: john.brawn Date: Fri Aug 5 06:01:08 2016 New Revision: 277806 URL: http://llvm.org/viewvc/llvm-project?rev=277806&view=rev Log: Reapply r276973 "Adjust Registry interface to not require plugins to export a registry" This differs from the previous version by being more careful about temp

Re: [PATCH] D18319: Add a PragmaHandler Registry for plugins to add PragmaHandlers to

2016-03-31 Thread John Brawn via cfe-commits
john.brawn added a comment. In http://reviews.llvm.org/D18319#379337, @rnk wrote: > This seems reasonable. OK to commit then? Repository: rL LLVM http://reviews.llvm.org/D18319 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lis

Re: [PATCH] D18319: Add a PragmaHandler Registry for plugins to add PragmaHandlers to

2016-04-04 Thread John Brawn via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL265295: Add a PragmaHandler Registry for plugins to add PragmaHandlers to (authored by john.brawn). Changed prior to commit: http://reviews.llvm.org/D18319?vs=51168&id=52553#toc Repository: rL LLVM

r265295 - Add a PragmaHandler Registry for plugins to add PragmaHandlers to

2016-04-04 Thread John Brawn via cfe-commits
Author: john.brawn Date: Mon Apr 4 09:22:58 2016 New Revision: 265295 URL: http://llvm.org/viewvc/llvm-project?rev=265295&view=rev Log: Add a PragmaHandler Registry for plugins to add PragmaHandlers to This allows plugins which add AST passes to also define pragmas to do things like only enable

[PATCH] D20732: Don't use static variables in LambdaCapture

2016-05-27 Thread John Brawn via cfe-commits
john.brawn created this revision. john.brawn added reviewers: faisalv, rsmith, jyknight. john.brawn added a subscriber: cfe-commits. john.brawn set the repository for this revision to rL LLVM. When static variables are used in inline functions in header files anything that uses that function ends

Re: [PATCH] D20732: Don't use static variables in LambdaCapture

2016-06-03 Thread John Brawn via cfe-commits
john.brawn added a comment. Ping Repository: rL LLVM http://reviews.llvm.org/D20732 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D20732: Don't use static variables in LambdaCapture

2016-06-08 Thread John Brawn via cfe-commits
john.brawn added a comment. In http://reviews.llvm.org/D20732#452055, @faisalv wrote: > I'm assuming you've given some thought to any existing pathological code that > might break if the actual compile-time alignment of Decl itself is changed > (since currently it seems to be that the alignment

Re: [PATCH] D20732: Don't use static variables in LambdaCapture

2016-06-14 Thread John Brawn via cfe-commits
john.brawn added a comment. In http://reviews.llvm.org/D20732#456239, @jyknight wrote: > This looks okay. The only downside: it will increase sizeof(Decl) on 32bit > platforms, since the layout is: > vtable ptr (4) > NextInContextAndBits ptr (4) > DeclCtx ptr (4) > Loc int (4) > bitfield in

r272788 - Don't use static variables in LambdaCapture

2016-06-15 Thread John Brawn via cfe-commits
Author: john.brawn Date: Wed Jun 15 09:14:51 2016 New Revision: 272788 URL: http://llvm.org/viewvc/llvm-project?rev=272788&view=rev Log: Don't use static variables in LambdaCapture When static variables are used in inline functions in header files anything that uses that function ends up with a r

Re: [PATCH] D20732: Don't use static variables in LambdaCapture

2016-06-15 Thread John Brawn via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL272788: Don't use static variables in LambdaCapture (authored by john.brawn). Changed prior to commit: http://reviews.llvm.org/D20732?vs=58787&id=60831#toc Repository: rL LLVM http://reviews.llvm.or

[PATCH] D21385: Adjust Registry interface to not require plugins to export a registry

2016-06-15 Thread John Brawn via cfe-commits
john.brawn created this revision. john.brawn added reviewers: ehsan, reames, chapuni. john.brawn added subscribers: llvm-commits, cfe-commits. john.brawn set the repository for this revision to rL LLVM. Herald added a subscriber: klimek. Currently the Registry class contains the vestiges of a prev

Re: [PATCH] D21611: Fix small structures calling convention issue for some big endian architectures

2016-06-23 Thread John Brawn via cfe-commits
john.brawn accepted this revision. john.brawn added a comment. Looks OK from the ARM side as well. http://reviews.llvm.org/D21611 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D21385: Adjust Registry interface to not require plugins to export a registry

2016-06-23 Thread John Brawn via cfe-commits
john.brawn added a comment. Ping. Repository: rL LLVM http://reviews.llvm.org/D21385 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D21385: Adjust Registry interface to not require plugins to export a registry

2016-06-30 Thread John Brawn via cfe-commits
john.brawn added a comment. Ping Repository: rL LLVM http://reviews.llvm.org/D21385 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Re: [PATCH] D21385: Adjust Registry interface to not require plugins to export a registry

2016-07-01 Thread John Brawn via cfe-commits
john.brawn added a comment. In http://reviews.llvm.org/D21385#471807, @Ilod wrote: > I gave up after this. I have Pyhton 3.5 64 bits, and was building clang > 32-bits on Windows with Visual Studio 2015 Update 2. python 3 isn't supported when building llvm/clang, according to llvm's CMakeLists

Re: [PATCH] D21385: Adjust Registry interface to not require plugins to export a registry

2016-07-01 Thread John Brawn via cfe-commits
john.brawn added a comment. > http://clang.llvm.org/get_started.html doesn't specify a version of Python, > the LLVM webpage only say >= 2.7, and I ran the tests without any problem > with Python 3 (but maybe some tests were automatically skipped?). Also, > Python is also marked as only necessa

Re: [PATCH] D21385: Adjust Registry interface to not require plugins to export a registry

2016-07-01 Thread John Brawn via cfe-commits
john.brawn added a comment. Commit r274365 should make extract_symbols.py work with Python 3. Repository: rL LLVM http://reviews.llvm.org/D21385 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinf

Re: [PATCH] D21385: Adjust Registry interface to not require plugins to export a registry

2016-07-04 Thread John Brawn via cfe-commits
john.brawn added a comment. In http://reviews.llvm.org/D21385#473163, @Ilod wrote: > The PrintFunctionNames plugin works fine, but not the SampleAnalyzerPlugin? > The checker-plugins test fails. Argh, I hadn't noticed that the plugin tests depend on the 'plugins' feature, and lit.cfg sets tha

[PATCH] D21971: Explicitly export symbols from the sample analyzer plugin

2016-07-04 Thread John Brawn via cfe-commits
john.brawn created this revision. john.brawn added reviewers: Ilod, chapuni, ehsan, reames. john.brawn added a subscriber: cfe-commits. john.brawn set the repository for this revision to rL LLVM. This is done so that it will work when built using MSVC if LLVM_EXPORT_SYMBOLS_FOR_PLUGINS=ON. Repos

Re: [PATCH] D21385: Adjust Registry interface to not require plugins to export a registry

2016-07-04 Thread John Brawn via cfe-commits
john.brawn added a comment. Created http://reviews.llvm.org/D21971 to make the sample analyzer plugin work. Repository: rL LLVM http://reviews.llvm.org/D21385 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/m

Re: [PATCH] D21385: Adjust Registry interface to not require plugins to export a registry

2016-07-04 Thread John Brawn via cfe-commits
john.brawn updated this revision to Diff 62684. john.brawn added a comment. Updated to not touch the sample analyzer plugin. Repository: rL LLVM http://reviews.llvm.org/D21385 Files: cfe/trunk/examples/AnnotateFunctions/CMakeLists.txt cfe/trunk/examples/PrintFunctionNames/CMakeLists.txt

Re: [PATCH] D21971: Explicitly export symbols from the sample analyzer plugin

2016-07-08 Thread John Brawn via cfe-commits
john.brawn added a comment. > Do you known if there is any good reason Analyzer plugins aren't using the > Registry system (thus forcing plugin writers to manually export the > functions)? Your guess is as good as mine. Repository: rL LLVM http://reviews.llvm.org/D21971 ___

r274871 - Explicitly export symbols from the sample analyzer plugin

2016-07-08 Thread John Brawn via cfe-commits
Author: john.brawn Date: Fri Jul 8 11:20:57 2016 New Revision: 274871 URL: http://llvm.org/viewvc/llvm-project?rev=274871&view=rev Log: Explicitly export symbols from the sample analyzer plugin This is done so that it will work when built using MSVC if LLVM_EXPORT_SYMBOLS_FOR_PLUGINS=ON. Differ

Re: [PATCH] D21971: Explicitly export symbols from the sample analyzer plugin

2016-07-08 Thread John Brawn via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL274871: Explicitly export symbols from the sample analyzer plugin (authored by john.brawn). Changed prior to commit: http://reviews.llvm.org/D21971?vs=62674&id=63248#toc Repository: rL LLVM http://r

[PATCH] D22221: Decide whether to enable plugin tests based on cmake variables

2016-07-11 Thread John Brawn via cfe-commits
john.brawn created this revision. john.brawn added reviewers: ehsan, reames, chapuni, Ilod. john.brawn added a subscriber: cfe-commits. john.brawn set the repository for this revision to rL LLVM. Clang plugins work when either LLVM_ENABLE_PLUGINS or LLVM_EXPORT_SYMBOLS_FOR_PLUGINS is ON, so enabl

Re: [PATCH] D21385: Adjust Registry interface to not require plugins to export a registry

2016-07-11 Thread John Brawn via cfe-commits
john.brawn added a comment. > Plugins tests are still disabled by lit.cfg I think, as it only checks for > enable_shared, which is disabled. I suppose we could wait for both this and > the SampleAnalyzerPlugin to be patched before enabling plugins tests if we > have LLVM_EXPORT_SYMBOLS_FOR_PLUG

  1   2   >