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