avr-llvm / llvm

[MERGED UPSTREAM] AVR backend for the LLVM compiler library
220 stars 21 forks source link

Refactor fixup application code into public header #154

Closed dylanmckay closed 7 years ago

dylanmckay commented 9 years ago

Our fixup application code (inside lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp) should be moved into a public header file include/llvm/Support/AVR.h and refactored so that the functions are named after the revocations they correspond to instead of the fixups.

If this is done, then LLD can then #include this file, and the bulk of AVR LLD support (which is the relocation application pass) will not need to be needlessly duplicated.

dylanmckay commented 7 years ago

This can be done when we get back to re-implementing LLD support.