forked from OSchip/llvm-project
[MC] Delete unused declarations
Notes: * llvm::createAsmStreamer: it has been moved to TargetRegistry.h * (anon ns)::WasmObjectWriter::updateCustomSectionRelocations: remnant of D46335 * COFFAsmParser::ParseSEHRegisterNumber: remnant of D66625 * llvm::CodeViewContext::isValidCVFileNumber: accidentally added by r279847
This commit is contained in:
parent
4701cb41ed
commit
9c53b2adc8
|
@ -166,8 +166,6 @@ public:
|
|||
unsigned FileNo, unsigned Line, unsigned Column,
|
||||
bool PrologueEnd, bool IsStmt);
|
||||
|
||||
bool isValidCVFileNumber(unsigned FileNumber);
|
||||
|
||||
/// Add a line entry.
|
||||
void addLineEntry(const MCCVLoc &LineEntry);
|
||||
|
||||
|
|
|
@ -235,16 +235,6 @@ public:
|
|||
Relocations[Sec].push_back(P);
|
||||
}
|
||||
|
||||
void recordScatteredRelocation(const MCAssembler &Asm,
|
||||
const MCAsmLayout &Layout,
|
||||
const MCFragment *Fragment,
|
||||
const MCFixup &Fixup, MCValue Target,
|
||||
unsigned Log2Size, uint64_t &FixedValue);
|
||||
|
||||
void recordTLVPRelocation(const MCAssembler &Asm, const MCAsmLayout &Layout,
|
||||
const MCFragment *Fragment, const MCFixup &Fixup,
|
||||
MCValue Target, uint64_t &FixedValue);
|
||||
|
||||
void recordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout,
|
||||
const MCFragment *Fragment, const MCFixup &Fixup,
|
||||
MCValue Target, uint64_t &FixedValue) override;
|
||||
|
|
|
@ -1080,28 +1080,6 @@ public:
|
|||
/// timing the assembler front end.
|
||||
MCStreamer *createNullStreamer(MCContext &Ctx);
|
||||
|
||||
/// Create a machine code streamer which will print out assembly for the native
|
||||
/// target, suitable for compiling with a native assembler.
|
||||
///
|
||||
/// \param InstPrint - If given, the instruction printer to use. If not given
|
||||
/// the MCInst representation will be printed. This method takes ownership of
|
||||
/// InstPrint.
|
||||
///
|
||||
/// \param CE - If given, a code emitter to use to show the instruction
|
||||
/// encoding inline with the assembly. This method takes ownership of \p CE.
|
||||
///
|
||||
/// \param TAB - If given, a target asm backend to use to show the fixup
|
||||
/// information in conjunction with encoding information. This method takes
|
||||
/// ownership of \p TAB.
|
||||
///
|
||||
/// \param ShowInst - Whether to show the MCInst representation inline with
|
||||
/// the assembly.
|
||||
MCStreamer *createAsmStreamer(MCContext &Ctx,
|
||||
std::unique_ptr<formatted_raw_ostream> OS,
|
||||
bool isVerboseAsm, bool useDwarfDirectory,
|
||||
MCInstPrinter *InstPrint, MCCodeEmitter *CE,
|
||||
MCAsmBackend *TAB, bool ShowInst);
|
||||
|
||||
} // end namespace llvm
|
||||
|
||||
#endif // LLVM_MC_MCSTREAMER_H
|
||||
|
|
|
@ -142,7 +142,6 @@ class COFFAsmParser : public MCAsmParserExtension {
|
|||
bool ParseSEHDirectiveEndProlog(StringRef, SMLoc);
|
||||
|
||||
bool ParseAtUnwindOrAtExcept(bool &unwind, bool &except);
|
||||
bool ParseSEHRegisterNumber(unsigned &RegNo);
|
||||
bool ParseDirectiveSymbolAttribute(StringRef Directive, SMLoc);
|
||||
|
||||
public:
|
||||
|
|
|
@ -783,8 +783,6 @@ private:
|
|||
/// def_range types parsed by this class.
|
||||
StringMap<CVDefRangeType> CVDefRangeTypeMap;
|
||||
|
||||
bool parseInitValue(unsigned Size);
|
||||
|
||||
// ".ascii", ".asciz", ".string"
|
||||
bool parseDirectiveAscii(StringRef IDVal, bool ZeroTerminated);
|
||||
|
||||
|
|
|
@ -328,9 +328,6 @@ private:
|
|||
void writeCustomSection(WasmCustomSection &CustomSection,
|
||||
const MCAssembler &Asm, const MCAsmLayout &Layout);
|
||||
void writeCustomRelocSections();
|
||||
void
|
||||
updateCustomSectionRelocations(const SmallVector<WasmFunction, 4> &Functions,
|
||||
const MCAsmLayout &Layout);
|
||||
|
||||
uint64_t getProvisionalValue(const WasmRelocationEntry &RelEntry,
|
||||
const MCAsmLayout &Layout);
|
||||
|
|
Loading…
Reference in New Issue