summaryrefslogtreecommitdiff
path: root/compiler/utils/assembler.h
diff options
context:
space:
mode:
author Alexandre Rames <alexandre.rames@linaro.org> 2015-06-19 14:47:01 +0100
committer David Brazdil <dbrazdil@google.com> 2015-06-22 11:57:36 +0100
commiteb7b7399dbdb5e471b8ae00a567bf4f19edd3907 (patch)
treea0a488040883c14cc6cbec3186654137459d44ff /compiler/utils/assembler.h
parent8ec0e20347e13592539a8c0786b1db1735149800 (diff)
Opt compiler: Add disassembly to the '.cfg' output.
This is automatically added to the '.cfg' output when using the usual `--dump-cfg` option. Change-Id: I864bfc3a8299c042e72e451cc7730ad8271e4deb
Diffstat (limited to 'compiler/utils/assembler.h')
-rw-r--r--compiler/utils/assembler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/utils/assembler.h b/compiler/utils/assembler.h
index 0381af3956..ee2d594e6f 100644
--- a/compiler/utils/assembler.h
+++ b/compiler/utils/assembler.h
@@ -386,6 +386,7 @@ class Assembler {
// Size of generated code
virtual size_t CodeSize() const { return buffer_.Size(); }
+ virtual const uint8_t* CodeBufferBaseAddress() const { return buffer_.contents(); }
// Copy instructions out of assembly buffer into the given region of memory
virtual void FinalizeInstructions(const MemoryRegion& region) {