mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 16:19:52 +00:00
[llvm] Parameterizing the output stream for dumpbytes and outputting directly to stream.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238453 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#ifndef LLVM_MC_MCINSTPRINTER_H
|
||||
#define LLVM_MC_MCINSTPRINTER_H
|
||||
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
|
||||
@@ -22,6 +23,9 @@ class MCRegisterInfo;
|
||||
class MCSubtargetInfo;
|
||||
class StringRef;
|
||||
|
||||
/// Convert `Bytes' to a hex string and output to `OS'
|
||||
void dumpBytes(ArrayRef<uint8_t> Bytes, raw_ostream &OS);
|
||||
|
||||
namespace HexStyle {
|
||||
enum Style {
|
||||
C, ///< 0xff
|
||||
|
||||
Reference in New Issue
Block a user