aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2010-07-22 05:58:53 +0000
committerReid Kleckner <reid@kleckner.net>2010-07-22 05:58:53 +0000
commit314fffa77ab2916603cc95112ec9829c0b742f8e (patch)
treef596e9a98ad3d8a1e7e63d5cbbf4634318745a05 /include/llvm/MC
parent9588e0ee6727eb09bddb7cbf4bd394dbc5ac2379 (diff)
downloadexternal_llvm-314fffa77ab2916603cc95112ec9829c0b742f8e.zip
external_llvm-314fffa77ab2916603cc95112ec9829c0b742f8e.tar.gz
external_llvm-314fffa77ab2916603cc95112ec9829c0b742f8e.tar.bz2
Initial modifications to MCAssembler and TargetMachine for the MCJIT.
Patch by Olivier Meurant! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109080 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC')
-rw-r--r--include/llvm/MC/MCAssembler.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/MC/MCAssembler.h b/include/llvm/MC/MCAssembler.h
index 07ca070..97ab1a1 100644
--- a/include/llvm/MC/MCAssembler.h
+++ b/include/llvm/MC/MCAssembler.h
@@ -669,7 +669,9 @@ public:
MCCodeEmitter &getEmitter() const { return Emitter; }
/// Finish - Do final processing and write the object to the output stream.
- void Finish();
+ /// \arg Writer is used for custom object writer (as the MCJIT does),
+ /// if not specified it is automatically created from backend.
+ void Finish(MCObjectWriter *Writer = 0);
// FIXME: This does not belong here.
bool getSubsectionsViaSymbols() const {