mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
880b08eb60
Also enables '__do_clear_bss'. These functions are automaticalled called by the CRT if they are declared. We need these to be called otherwise RAM will start completely uninitialised, even though we need to copy RAM variables from progmem to RAM. llvm-svn: 312905
35 lines
892 B
C++
35 lines
892 B
C++
//===-- AVRTargetStreamer.h - AVR Target Streamer --------------*- C++ -*--===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_AVR_TARGET_STREAMER_H
|
|
#define LLVM_AVR_TARGET_STREAMER_H
|
|
|
|
#include "llvm/MC/MCELFStreamer.h"
|
|
|
|
namespace llvm {
|
|
class MCStreamer;
|
|
|
|
/// A generic AVR target output stream.
|
|
class AVRTargetStreamer : public MCTargetStreamer {
|
|
public:
|
|
explicit AVRTargetStreamer(MCStreamer &S);
|
|
|
|
void finish() override;
|
|
};
|
|
|
|
/// A target streamer for textual AVR assembly code.
|
|
class AVRTargetAsmStreamer : public AVRTargetStreamer {
|
|
public:
|
|
explicit AVRTargetAsmStreamer(MCStreamer &S);
|
|
};
|
|
|
|
} // end namespace llvm
|
|
|
|
#endif // LLVM_AVR_TARGET_STREAMER_H
|