#include"base/globals.h" #include"base/logging.h"// For VLOG. #include"code_simulator.h"
namespace art {
CodeSimulatorContainer::CodeSimulatorContainer(InstructionSet target_isa)
: libart_simulator_handle_(nullptr),
target_isa_(target_isa) { constchar* libart_simulator_so_name =
kIsDebugBuild ? "libartd-simulator.so" : "libart-simulator.so";
libart_simulator_handle_ = dlopen(libart_simulator_so_name, RTLD_NOW); // It is not a real error when libart-simulator does not exist, e.g., on target. if (libart_simulator_handle_ == nullptr) {
VLOG(simulator) << "Could not load " << libart_simulator_so_name << ": " << dlerror();
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.