[clang] 88b7b76 - [AVR][clang] Pass the address of the data section to the linker for ATmega328

2020-10-28 Thread Dylan McKay via cfe-commits
Author: Dylan McKay Date: 2020-10-29T06:35:15+13:00 New Revision: 88b7b76a0b2365fe4ea9f686c6346667bfe48488 URL: https://github.com/llvm/llvm-project/commit/88b7b76a0b2365fe4ea9f686c6346667bfe48488 DIFF: https://github.com/llvm/llvm-project/commit/88b7b76a0b2365fe4ea9f686c6346667bfe48488.diff L

[clang] 15b9dc4 - Revert "[AVR] Explicitly set the address of the data section when invoking the linker"

2020-06-23 Thread Dylan McKay via cfe-commits
Author: Dylan McKay Date: 2020-06-23T22:23:05+12:00 New Revision: 15b9dc46c6d2eed64dc72143172f5fb0d4049f33 URL: https://github.com/llvm/llvm-project/commit/15b9dc46c6d2eed64dc72143172f5fb0d4049f33 DIFF: https://github.com/llvm/llvm-project/commit/15b9dc46c6d2eed64dc72143172f5fb0d4049f33.diff L

[clang] 01741d6 - [AVR] Remove duplicate specification of lib directory

2020-06-18 Thread Dylan McKay via cfe-commits
Author: Dylan McKay Date: 2020-06-19T17:39:18+12:00 New Revision: 01741d6dbec11c0a0c8e610f0033831735c78d1e URL: https://github.com/llvm/llvm-project/commit/01741d6dbec11c0a0c8e610f0033831735c78d1e DIFF: https://github.com/llvm/llvm-project/commit/01741d6dbec11c0a0c8e610f0033831735c78d1e.diff L

[clang] aeaa09e - Revert "[AVR] Remove duplicate specification of lib directory"

2020-06-18 Thread Dylan McKay via cfe-commits
Author: Dylan McKay Date: 2020-06-19T17:37:15+12:00 New Revision: aeaa09ec10ee41ef2469f4d69320d386d492bf23 URL: https://github.com/llvm/llvm-project/commit/aeaa09ec10ee41ef2469f4d69320d386d492bf23 DIFF: https://github.com/llvm/llvm-project/commit/aeaa09ec10ee41ef2469f4d69320d386d492bf23.diff L

[clang] 03b0831 - [AVR] Remove duplicate specification of lib directory

2020-06-18 Thread Dylan McKay via cfe-commits
Author: Dylan McKay Date: 2020-06-19T17:35:09+12:00 New Revision: 03b0831144a9fe25aac81498b0a1dec82f4ec5df URL: https://github.com/llvm/llvm-project/commit/03b0831144a9fe25aac81498b0a1dec82f4ec5df DIFF: https://github.com/llvm/llvm-project/commit/03b0831144a9fe25aac81498b0a1dec82f4ec5df.diff L

[clang] ede6005 - [AVR] Explicitly set the address of the data section when invoking the linker

2020-05-17 Thread Dylan McKay via cfe-commits
Author: Dylan McKay Date: 2020-05-18T02:24:51+12:00 New Revision: ede6005e7092ddae454e4d365d8adefeaec1f5e3 URL: https://github.com/llvm/llvm-project/commit/ede6005e7092ddae454e4d365d8adefeaec1f5e3 DIFF: https://github.com/llvm/llvm-project/commit/ede6005e7092ddae454e4d365d8adefeaec1f5e3.diff L

[clang] 57fd86d - [AVR] Fix function pointer address space

2020-04-01 Thread Dylan McKay via cfe-commits
Author: Vlastimil Labsky Date: 2020-04-01T21:08:37+13:00 New Revision: 57fd86de879cf2b4c7001b6d0a09df60877ce24d URL: https://github.com/llvm/llvm-project/commit/57fd86de879cf2b4c7001b6d0a09df60877ce24d DIFF: https://github.com/llvm/llvm-project/commit/57fd86de879cf2b4c7001b6d0a09df60877ce24d.di

r361116 - [AVR] Automatically link CRT and libgcc from the system avr-gcc

2019-05-19 Thread Dylan McKay via cfe-commits
Author: dylanmckay Date: Sun May 19 02:54:14 2019 New Revision: 361116 URL: http://llvm.org/viewvc/llvm-project?rev=361116&view=rev Log: [AVR] Automatically link CRT and libgcc from the system avr-gcc Summary: This patch modifies the AVR toolchain so that if avr-gcc and avr-libc are detected duri

r346548 - Use the correct address space when bitcasting func pointer to int pointer

2018-11-09 Thread Dylan McKay via cfe-commits
Author: dylanmckay Date: Fri Nov 9 11:42:05 2018 New Revision: 346548 URL: http://llvm.org/viewvc/llvm-project?rev=346548&view=rev Log: Use the correct address space when bitcasting func pointer to int pointer When we cast a function pointer to an int pointer, at some pointer later it gets bitca

r346520 - Use the correct address space when emitting the ctor function list

2018-11-09 Thread Dylan McKay via cfe-commits
Author: dylanmckay Date: Fri Nov 9 09:15:06 2018 New Revision: 346520 URL: http://llvm.org/viewvc/llvm-project?rev=346520&view=rev Log: Use the correct address space when emitting the ctor function list This patch modifies clang so that, if compiling for a target that explicitly specifies a nonz

r325483 - [AVR] Set the program address space in the data layout

2018-02-19 Thread Dylan McKay via cfe-commits
Author: dylanmckay Date: Mon Feb 19 02:46:16 2018 New Revision: 325483 URL: http://llvm.org/viewvc/llvm-project?rev=325483&view=rev Log: [AVR] Set the program address space in the data layout This is accompanied by r325481 in LLVM. Modified: cfe/trunk/lib/Basic/Targets/AVR.h Modified: cfe/t

r314354 - [AVR] Update data layout to match current LLVM trunk

2017-09-27 Thread Dylan McKay via cfe-commits
Author: dylanmckay Date: Wed Sep 27 15:09:01 2017 New Revision: 314354 URL: http://llvm.org/viewvc/llvm-project?rev=314354&view=rev Log: [AVR] Update data layout to match current LLVM trunk The data layout was changed in r314179 to fix atomic loads and stores. Modified: cfe/trunk/lib/Basic/T

r295536 - [AVR] Move definition of IsIntegratedAssemblerDefault

2017-02-17 Thread Dylan McKay via cfe-commits
Author: dylanmckay Date: Fri Feb 17 20:42:36 2017 New Revision: 295536 URL: http://llvm.org/viewvc/llvm-project?rev=295536&view=rev Log: [AVR] Move definition of IsIntegratedAssemblerDefault Modified: cfe/trunk/lib/Driver/ToolChains.cpp cfe/trunk/lib/Driver/ToolChains.h Modified: cfe/tru

r294869 - [AVR] Fix __AVR_xxx macro definitions; authored by Peter Wu

2017-02-11 Thread Dylan McKay via cfe-commits
Author: dylanmckay Date: Sat Feb 11 15:06:07 2017 New Revision: 294869 URL: http://llvm.org/viewvc/llvm-project?rev=294869&view=rev Log: [AVR] Fix __AVR_xxx macro definitions; authored by Peter Wu Summary: The -mmcu option for GCC sets macros like __AVR_ATmega328P__ (with the trailing underscores

r294402 - [AVR] Add support for the 'interrupt' and 'naked' attributes

2017-02-07 Thread Dylan McKay via cfe-commits
Author: dylanmckay Date: Tue Feb 7 23:09:26 2017 New Revision: 294402 URL: http://llvm.org/viewvc/llvm-project?rev=294402&view=rev Log: [AVR] Add support for the 'interrupt' and 'naked' attributes Summary: This teaches clang how to parse and lower the 'interrupt' and 'naked' attributes. This al

r294282 - Revert "Revert "[AVR] Allow specifying the CPU on the command line""

2017-02-07 Thread Dylan McKay via cfe-commits
Author: dylanmckay Date: Tue Feb 7 00:04:18 2017 New Revision: 294282 URL: http://llvm.org/viewvc/llvm-project?rev=294282&view=rev Log: Revert "Revert "[AVR] Allow specifying the CPU on the command line"" This reverts commit 7ac30e0f839fdab6d723ce2ef6a5b7a4cf03d150. Added: cfe/trunk/test/Co

Re: r294177 - [AVR] Allow specifying the CPU on the command line

2017-02-06 Thread Dylan McKay via cfe-commits
ldbots. See for example > http://lab.llvm.org:8011/builders/clang-cmake-armv7-a15/builds/3599 > http://lab.llvm.org:8011/builders/clang-x86-windows-msvc2015/builds/2271 > > Sorry, > Diana > > On 6 February 2017 at 10:07, Dylan McKay via cfe-commits > wrote: > >

r294177 - [AVR] Allow specifying the CPU on the command line

2017-02-06 Thread Dylan McKay via cfe-commits
Author: dylanmckay Date: Mon Feb 6 03:07:56 2017 New Revision: 294177 URL: http://llvm.org/viewvc/llvm-project?rev=294177&view=rev Log: [AVR] Allow specifying the CPU on the command line Summary: This tells clang about all of the different AVR microcontrollers. It also adds code to define the c

r294176 - [AVR] Add support for the full set of inline asm constraints

2017-02-06 Thread Dylan McKay via cfe-commits
Author: dylanmckay Date: Mon Feb 6 03:01:59 2017 New Revision: 294176 URL: http://llvm.org/viewvc/llvm-project?rev=294176&view=rev Log: [AVR] Add support for the full set of inline asm constraints Summary: Previously the method would simply return false, causing every single inline assembly cons

r291090 - [AVR] Revert the functional part of r291083

2017-01-04 Thread Dylan McKay via cfe-commits
Author: dylanmckay Date: Thu Jan 5 01:17:46 2017 New Revision: 291090 URL: http://llvm.org/viewvc/llvm-project?rev=291090&view=rev Log: [AVR] Revert the functional part of r291083 As Senthil points out, this is unnecessary as we already have these registers in AddlRegNames. Modified: cfe/tr

Re: [PATCH] D28343: [AVR] Fix register numbers for in getGCCAddlRegNames()

2017-01-04 Thread Dylan McKay via cfe-commits
I see, that's a good idea. I'll revert r291083 and we can go forward with this patch. On Thu, Jan 5, 2017 at 8:05 PM, Senthil Kumar Selvaraj via Phabricator < revi...@reviews.llvm.org> wrote: > saaadhu added a comment. > > If you've added X, Y, Z and SP to GCCRegNames, you don't need AddlRegName

r291083 - [AVR] Support r26 through r31 in inline assembly

2017-01-04 Thread Dylan McKay via cfe-commits
Author: dylanmckay Date: Wed Jan 4 23:31:12 2017 New Revision: 291083 URL: http://llvm.org/viewvc/llvm-project?rev=291083&view=rev Log: [AVR] Support r26 through r31 in inline assembly These are synonyms for the X,Y, and Z registers. Modified: cfe/trunk/lib/Basic/Targets.cpp Modified: cfe/

r291082 - Add AVR target and toolchain to Clang

2017-01-04 Thread Dylan McKay via cfe-commits
Author: dylanmckay Date: Wed Jan 4 23:20:27 2017 New Revision: 291082 URL: http://llvm.org/viewvc/llvm-project?rev=291082&view=rev Log: Add AVR target and toolchain to Clang Summary: Authored by Senthil Kumar Selvaraj This patch adds barebones support in Clang for the (experimental) AVR target.

Re: [PATCH] D27123: Add AVR target and toolchain to Clang

2017-01-04 Thread Dylan McKay via cfe-commits
I've just raised a bug here https://llvm.org/bugs/show_bug.cgi?id=31530 > What's necessary for sign-off? Should I ping the reviewer (Richard Smith) again? I think so long as Richard or someone else who actively works on Clang signs off. Perhaps somebody else is keen to review? On the other hand

Re: [PATCH] D27123: Add AVR target and toolchain to Clang

2017-01-04 Thread Dylan McKay via cfe-commits
Did you get the BugZilla account sorted Senthil? On Thu, Dec 22, 2016 at 10:47 AM, Nico Weber wrote: > On Wed, Dec 21, 2016 at 6:42 AM, Senthil Kumar Selvaraj via Phabricator > via cfe-commits wrote: > >> saaadhu added a comment. >> >> Would someone with a llvm bugzilla account please file the

Re: [PATCH] D27123: Add AVR target and toolchain to Clang

2016-12-21 Thread Dylan McKay via cfe-commits
I'm happy to file a bug if you give me a description > Would one of the reviewers commit the patch for me? I'm happy to commit it, so long as somebody else signs off on it. On Thu, Dec 22, 2016 at 12:42 AM, Senthil Kumar Selvaraj via Phabricator < revi...@reviews.llvm.org> wrote: > saaadhu adde