Peter Collingbourne
dcd7d6c331
MC: Separate creating a generic object writer from creating a target object writer. NFCI.
...
With this we gain a little flexibility in how the generic object
writer is created.
Part of PR37466.
Differential Revision: https://reviews.llvm.org/D47045
llvm-svn: 332868
2018-05-21 19:20:29 +00:00
Alex Bradbury
7c093bf1cf
Fix build of WebAssembly and AVR backends after r321692
...
As experimental backends, I didn't have them configured to build in my local
build config.
llvm-svn: 321696
2018-01-03 09:30:39 +00:00
Dylan McKay
ba23343a45
Revert and accidentally committed revert commit
...
This reverts commit r320245.
llvm-svn: 320247
2017-12-09 08:01:28 +00:00
Dylan McKay
f5422afdf0
Revert "[AVR] Override ParseDirective"
...
This reverts commit 57c16f9267969ebb09d6448607999b4a9f40c418.
llvm-svn: 320245
2017-12-09 07:51:37 +00:00
Leslie Zhai
8543d53fd9
[AVR] Override ParseDirective
...
Reviewers: dylanmckay, kparzysz
Reviewed By: dylanmckay
Differential Revision: https://reviews.llvm.org/D38029
llvm-svn: 320009
2017-12-07 06:56:09 +00:00
Dylan McKay
bebde41ec5
[AVR] Update to current LLVM API
...
r315410 broke a number of things in the AVR backend, which are now
fixed.
llvm-svn: 316076
2017-10-18 12:35:15 +00:00
Mehdi Amini
f42454b94b
Move the global variables representing each Target behind accessor function
...
This avoids "static initialization order fiasco"
Differential Revision: https://reviews.llvm.org/D25412
llvm-svn: 283702
2016-10-09 23:00:34 +00:00
Dylan McKay
d6e7fc6d9a
[AVR] Update the signature of createAVRAsmBackend
...
It has been recently changed to also take a MCTargetOptions structure.
llvm-svn: 282594
2016-09-28 14:35:07 +00:00
Dylan McKay
f830f4baa5
[AVR] Remove the 'AVRConfig.h' header
...
It defined the LLVM_AVR_GCC_COMPAT constant, which would enable/disable
certain GCC-specific behaviours.
There is no point conditionally turning it on/off, as it will always be
turned on, and we have to maintain both code paths anyway.
llvm-svn: 269904
2016-05-18 11:20:48 +00:00
Dylan McKay
d56676ed65
[AVR] Convert C style comments to C++
...
llvm-svn: 269895
2016-05-18 09:43:01 +00:00
Dylan McKay
6d8078f993
[AVR] Add a majority of the backend code
...
Summary: This adds the majority of the AVR backend.
Reviewers: hfinkel, dsanders, vkalintiris, arsenm
Subscribers: dylanmckay
Differential Revision: http://reviews.llvm.org/D17906
llvm-svn: 268722
2016-05-06 10:12:31 +00:00