Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion llvm/include/llvm/MC/MCStreamer.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#ifndef LLVM_MC_MCSTREAMER_H
#define LLVM_MC_MCSTREAMER_H

#include "llvm/MC/SSITHMetadata.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/Optional.h"
Expand Down Expand Up @@ -597,7 +598,7 @@ class MCStreamer {
/// \param ByteAlignment - The alignment of the symbol if
/// non-zero. This must be a power of 2.
virtual void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
unsigned ByteAlignment);
unsigned ByteAlignment) = 0;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these changes be squashed into another commit?


/// Emit a local common (.lcomm) symbol.
///
Expand All @@ -618,6 +619,10 @@ class MCStreamer {
uint64_t Size = 0, unsigned ByteAlignment = 0,
SMLoc Loc = SMLoc()) = 0;

/// SSITH metadata write - only defined by MCELFStreamer
virtual void EmitSSITHMetadataEntry(SmallVector<MCFixup, 4> &Fixups,
uint8_t MD_type, uint8_t tag) {}

/// Emit a thread local bss (.tbss) symbol.
///
/// \param Section - The thread local common section.
Expand Down