search for: jtmb

Displaying 6 results from an estimated 6 matches for "jtmb".

2019 Aug 13
4
ORC v2 question
...MachineBuilder and ExecutionEngineBuilder have different defaults for their CodeGen opt-level. JITTargetMachineBuilder defaults to CodeGenOpt::None, and ExecutionEngineBuilder default to CodeGenOpt::Default. > > What happens if you make the following modification to your setup? > > auto JTMB = llvm::orc::JITTargetMachineBuilder::detectHost(); > JTMB->setCodeGenOptLevel(CodeGenOpt::Default); // <-- Explicitly set Codegen opt level > auto dataLayout = JTMB->getDefaultDataLayoutForTarget(); > No change. Regards
2019 Sep 19
3
"corrupted size vs. prev_size" when calling ExecutionSession::lookup()
...tiveTargetAsmPrinter(); llvm::InitializeNativeTargetAsmParser(); // create jit llvm::orc::ExecutionSession ES; llvm::orc::RTDyldObjectLinkingLayer ObjectLayer(ES, []() { return std::make_unique<llvm::SectionMemoryManager>(); }); auto JTMB = llvm::orc::JITTargetMachineBuilder::detectHost(); auto DL = JTMB->getDefaultDataLayoutForTarget(); llvm::orc::IRCompileLayer CompileLayer(ES, ObjectLayer, llvm::orc::ConcurrentIRCompiler(std::move(*JTMB))); llvm::orc::MangleAndInterner Mangle(ES, *DL); ES.getMainJITDylib().setGenerator...
2019 Aug 14
3
ORC v2 question
...xecutionEngineBuilder have different defaults for their CodeGen opt-level. JITTargetMachineBuilder defaults to CodeGenOpt::None, and ExecutionEngineBuilder default to CodeGenOpt::Default. > > > > What happens if you make the following modification to your setup? > > > > auto JTMB = llvm::orc::JITTargetMachineBuilder::detectHost(); > > JTMB->setCodeGenOptLevel(CodeGenOpt::Default); // <-- Explicitly set Codegen opt level > > auto dataLayout = JTMB->getDefaultDataLayoutForTarget(); > > I am not sure what to make of that. What happens if you print TM...
2019 Aug 13
3
ORC v2 question
Hi Lang, On Tue, 13 Aug 2019 at 20:47, Lang Hames <lhames at gmail.com> wrote: > > Sorry for the delayed reply. Looks like you have figured out how to solve your issue already. Out of interest, what did you need to do? Do you have anything that you would like to see added to http://llvm.org/docs/ORCv2.html ? > Sorry my post was misleading. I figured out below which was part of the
2020 Jan 08
2
Position independent code writes absolute pointer
...alue; void printMagicValue() { printf("Planschi...\n"); printf("The magic value is %i 0x%p && 0x%p\n", magicValue, &magicValue, pValue); } void setMagicValue(int value) { magicValue = value; } This is the code which I will load as PIC, for the JTMB I use the following settings: JTMB->setRelocationModel(llvm::Reloc::PIC_); JTMB->setCodeModel(llvm::CodeModel::Small); The code will be loaded into a shared memory. Two process will execute the memory from there, calling "printMagicValue", "setMagicValue(120)" and "pr...
2010 Jul 26
0
cli_session_setup_blob: recieve failed (NT_STATUS_INVALID_PARAMETER)
...e an Windows Active Directory network. My client computer is running Solaris 10 u8. The computer hosting the share says it's running Acopia ARX(3.0.0b1) According to Active Directory (not familiar with this OS, i think it is a NAS) I run this command to get the Kerberos ticket. bash-3.00$ kinit jtmb at DOM.COMPassword for jtmb at DOM.COM:bash-3.00$ Which works fine, but when i try to connect using smbclient i get this error: # /usr/sfw/bin/smbclient -k -L 147.18.62.30 -d4lp_load: refreshing parametersInitialising global parametersparams.c:pm_process() - Processing configuration file "/etc...