From eb7b7399dbdb5e471b8ae00a567bf4f19edd3907 Mon Sep 17 00:00:00 2001 From: Alexandre Rames Date: Fri, 19 Jun 2015 14:47:01 +0100 Subject: 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 --- compiler/utils/assembler.h | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/utils/assembler.h') 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) { -- cgit v1.2.3-59-g8ed1b