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/jit/jit_compiler.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compiler/jit/jit_compiler.cc') diff --git a/compiler/jit/jit_compiler.cc b/compiler/jit/jit_compiler.cc index 6ff1e2e95e..9a779464f6 100644 --- a/compiler/jit/jit_compiler.cc +++ b/compiler/jit/jit_compiler.cc @@ -69,7 +69,8 @@ extern "C" void jit_types_loaded(void* handle, mirror::Class** types, size_t cou DCHECK(jit_compiler != nullptr); if (jit_compiler->GetCompilerOptions()->GetGenerateDebugInfo()) { const ArrayRef types_array(types, count); - ArrayRef elf_file = debug::WriteDebugElfFileForClasses(kRuntimeISA, types_array); + ArrayRef elf_file = debug::WriteDebugElfFileForClasses( + kRuntimeISA, jit_compiler->GetCompilerDriver()->GetInstructionSetFeatures(), types_array); CreateJITCodeEntry(std::unique_ptr(elf_file.data()), elf_file.size()); } } -- cgit v1.2.3-59-g8ed1b