mirror of
https://github.com/RPCS3/llvm.git
synced 2026-08-26 18:26:51 -04:00
fe79297f6f
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312905 91177308-0d34-0410-b5e6-96231b3b80d8
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
|