From 5d8112029d0e085c5a0099257daa4c7e29c12310 Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Tue, 8 Mar 2016 13:21:22 +0000 Subject: Propagate InstructionSetFeatures to ElfBuilder. This is subset of CL171665 and it separates it into two. It will be needed to generate .MIPS.abiflags ELF section. Change-Id: I5557e7cb98d0fa1dc57c85cf6161e119c6d50a1a --- compiler/optimizing/optimizing_compiler.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'compiler/optimizing/optimizing_compiler.cc') diff --git a/compiler/optimizing/optimizing_compiler.cc b/compiler/optimizing/optimizing_compiler.cc index c1b4d2403d..b49b91d984 100644 --- a/compiler/optimizing/optimizing_compiler.cc +++ b/compiler/optimizing/optimizing_compiler.cc @@ -940,7 +940,10 @@ bool OptimizingCompiler::JitCompile(Thread* self, code_address + code_allocator.GetSize(), &compiled_method }; - ArrayRef elf_file = debug::WriteDebugElfFileForMethod(method_debug_info); + ArrayRef elf_file = debug::WriteDebugElfFileForMethod( + GetCompilerDriver()->GetInstructionSet(), + GetCompilerDriver()->GetInstructionSetFeatures(), + method_debug_info); CreateJITCodeEntryForAddress(code_address, std::unique_ptr(elf_file.data()), elf_file.size()); -- cgit v1.2.3-59-g8ed1b