diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-13 23:36:34 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-13 23:36:34 +0000 |
commit | 6a3d1732865d22b73cbcc48850e245c2d2f86a61 (patch) | |
tree | 8d5b98d36b1b7ca07675d3458258d657efbaae93 /include/llvm/MC | |
parent | 0ff6effb21071dfb4b99c02bbd743bd14cefab37 (diff) | |
download | external_llvm-6a3d1732865d22b73cbcc48850e245c2d2f86a61.zip external_llvm-6a3d1732865d22b73cbcc48850e245c2d2f86a61.tar.gz external_llvm-6a3d1732865d22b73cbcc48850e245c2d2f86a61.tar.bz2 |
llvm-mc: Add dummy MCStreamer implementation, (eventually) for use in profiling.
- Currently unused.
- A few other random comment fixes lumped in.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78960 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC')
-rw-r--r-- | include/llvm/MC/MCStreamer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/MC/MCStreamer.h b/include/llvm/MC/MCStreamer.h index 0f973eb..3f37bfe 100644 --- a/include/llvm/MC/MCStreamer.h +++ b/include/llvm/MC/MCStreamer.h @@ -221,6 +221,10 @@ namespace llvm { virtual void Finish() = 0; }; + /// createNullStreamer - Create a dummy machine code streamer, which does + /// nothing. This is useful for timing the assembler front end. + MCStreamer *createNullStreamer(MCContext &Ctx); + /// createAsmStreamer - Create a machine code streamer which will print out /// assembly for the native target, suitable for compiling with a native /// assembler. |