search for: testmodule

Displaying 16 results from an estimated 16 matches for "testmodule".

2002 Mar 12
2
Need help getting rsync working...
I have so far been unable to get rsync to work properly in a test setup. Does anyone have any ideas? Both PCs are running RedHat 7.2. The Server: IP Address 192.168.0.202 Server Name: RH72TB hosts.allow ALL: 192.168.0.201 rsyncd.conf: [testmodule] path = /tmp The Client: IP Address 192.168.0.201 hosts file: 192.168.0.202 RH72TB I have run "rsync --daemon" on the server. There is a file called "sheepb.jpg" in the /tmp directory of the Client that has been chmod-ed to 777. I am logged in with the same username and...
2020 Aug 20
2
ORC JIT - Incorrect support for COFF files?
Hey LLVM-Mailing-List and Lang, I'm still learning how to use the ORC JIT but I finally reached the point to JIT and execute some code. For this purpose I created a test file (TestModule.cpp) and compiled it with Clang, generating two different files, one in the LLVM IR format and one in the Microsoft COFF format. The JIT resolves all undefined references, including "extern int planschiValue;" and "void externFunction();". Using the IR Module I will get the cor...
2010 May 10
0
How RoR extract a http parameterfrom arequest?
...t_modules/show/"+$F"boardid"), {method :''get'', onFailure:displaySIPTabFailure, onComplete:displaySIPTabFailure }); This is controller from the ROR controller acting as server: class TestModulesController < ApplicationController def index @test_modules = TestModule.find(:all) respond_to do |format| format.html # index.html.erb format.xml { render :xml => @test_modules } end end def show @test_module = TestModule.find(params[:id]) #TestModule is a mod...
2013 Jun 24
0
[LLVMdev] About writing a modulePass in addPreEmitPass() for NVPTX
...st.h" namespace llvm { //static RegisterPass<NVPTXTest> X("test", "Test Module Pass"); char NVPTXTest::ID = 0; ModulePass *createTest() { return new NVPTXTest(); } } using namespace llvm; INITIALIZE_PASS(NVPTXTest, "test", "TestModule Pass", true, true); ==== When I use the same way to write a CallGraphSCCPass, it still doesn't work, but this time it tells me that my CallGraphSCCPass is not initialized instead of 'NVPTX Assembly Printer'. It's really weird... -- View this message in context: http://llvm....
2013 Jun 22
2
[LLVMdev] About writing a modulePass in addPreEmitPass() for NVPTX
I write my pass in a mix way of NVPTXAllocaHoisting, NVPTXSplitBBatBar and transforms/Hello. The following is part of the codes: in NVPTXTargetMachine.cpp bool NVPTXPassConfig::addPreEmitPass() { addPass(createTest()); return false; } in NVPTXTest.h namespace llvm{
2007 Dec 18
0
[LLVMdev] Another Pass Manager Assertion
...*I; > Pass1 &P = getAnalysis<Pass1>(F); > } > return false; > } > virtual void getAnalysisUsage(AnalysisUsage &AU) const { > AU.addRequired<Pass1>(); > } > }; > > int main(int argc, char **argv) { > Module M("testmodule"); > M.getOrInsertFunction ("main", Type::VoidTy, NULL); > PassManager Passes; > Passes.add(new BottomPass()); > Passes.run(M); > return 1; > } > > char Pass1::ID = 0; > char BottomPass::ID = 0; > > RegisterPass<Pass1> R1("p1",&qu...
2007 Dec 18
2
[LLVMdev] Another Pass Manager Assertion
Dear All, The attached code (which is a contrived test case) hits the following assertion: test: /home/vadve/criswell/src/llvm22/include/llvm/PassAnalysisSupport.h:226: AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*, llvm::Function&) [with AnalysisType = Pass1]: Assertion `ResultPass && "getAnalysis*() called on an analysis that was not "
2020 Aug 21
2
ORC JIT - Incorrect support for COFF files?
...gt; *Subject:* [llvm-dev] ORC JIT - Incorrect support for COFF files? > >   > > Hey LLVM-Mailing-List and Lang, > >   > > I’m still learning how to use the ORC JIT but I finally reached the > point to JIT and execute some code. For this purpose I created a test > file (TestModule.cpp) and compiled it with Clang, generating two > different files, one in the LLVM IR format and one in the Microsoft > COFF format. > >   > > The JIT resolves all undefined references, including > “externintplanschiValue;” and “voidexternFunction();”. Using the IR > Module...
2019 Jan 02
2
JIT compiler, Windows, external functions like cos
...uot;, "sin", etc. fails. const char externalFnName[] = "cos"; InitializeNativeTarget(); InitializeNativeTargetAsmPrinter(); InitializeNativeTargetAsmParser(); LLVMContext context; IRBuilder<> builder(context); std::unique_ptr<llvm::Module> module(new Module("TestModule", context)); Module* pModule = module.get(); auto externalFn_IR = cast<Function>(pModule->getOrInsertFunction("externalFn", Type::getDoubleTy(context), Type::getDoubleTy(context))); Value* x = externalFn_IR->arg_begin(); x->setName("x"); BasicBlock *entry...
2018 Nov 16
2
[LNT] How to set an env var before executing a test?
So you're referring to llvm_test_prepare? There aren't many examples of that being used. I tried adding a call to it in my test directory's CMakeLists.txt like so: llvm_test_prepare(WORKDIR ${CMAKE_CURRENT_BINARY_DIR} export MY_VAR=42 ) In the hopes that something would happen, even an error, but it had no effect. Nothing at http://llvm.org/docs/lnt/tests.html explains how to
2011 Sep 14
10
fail to exec apt-get upgrade (change from notrun to 0 failed...)
...lying configuration version ''1316008127'' notice: //aguu/Exec[update]/returns: executed successfully err: //aguu/Exec[upgrade]/returns: change from notrun to 0 failed: apt-get upgrade -y returned 100 instead of one of [0] at /etc/puppet/modules/aguu/manifests/init.pp:11 notice: //testmodule1/File[/tmp/testmodule]/ensure: created warning: Value of ''preferred_serialization_format'' (pson) is invalid for report, using default (marshal) notice: Finished catalog run in 3.60 seconds Apt-get should be returning 100 in case of an error, but if i run the exact same command...
2002 Feb 25
2
Trouble getting rsync to work....
I have read the MAN page and the Rsync page and have set up an /etc/rsync.conf but I can't seem to get it working. I have tried starting the daemon and adding the correct entry on the server hosts.allow file, but I just get "Connection refused" from the server. Surely this can't be that difficult, but I am at a bit of a loss. Can anyone help? Regards, Brad
2020 Aug 24
2
ORC JIT - Incorrect support for COFF files?
...lhames at gmail.com><mailto:lhames at gmail.com> Subject: [llvm-dev] ORC JIT - Incorrect support for COFF files? Hey LLVM-Mailing-List and Lang, I’m still learning how to use the ORC JIT but I finally reached the point to JIT and execute some code. For this purpose I created a test file (TestModule.cpp) and compiled it with Clang, generating two different files, one in the LLVM IR format and one in the Microsoft COFF format. The JIT resolves all undefined references, including “extern int planschiValue;” and “void externFunction();”. Using the IR Module I will get the correct address for “pl...
2013 Jun 24
2
[LLVMdev] About writing a modulePass in addPreEmitPass() for NVPTX
...gisterPass<NVPTXTest> X("test", "Test Module Pass"); > char NVPTXTest::ID = 0; > ModulePass *createTest() > { > return new NVPTXTest(); > } > } > using namespace llvm; > > INITIALIZE_PASS(NVPTXTest, "test", "TestModule Pass", true, true); > ==== > When I use the same way to write a CallGraphSCCPass, it still doesn't work, > but this time it tells me that my CallGraphSCCPass is not initialized > instead of 'NVPTX Assembly Printer'. > It's really weird... > > > > >...
2010 Apr 04
1
[LLVMdev] Code generators (both llvmc and Jit) get stuck when dealing circular CFG
...;t return from command line, Jit won't return from function call) Basically it is a CFG with circles, (the function will return by comparing a branch counter to a threshold on runtime - see the "Brancher" blocks below) Any idea what goes wrong? Is it a bug in llvm ? ; ModuleID = 'TestModule!' define double @fn1(i8*, i64) { Entry: %BranchCounter = alloca i32 ; <i32*> [#uses=7] store i32 0, i32* %BranchCounter %Vars = alloca double, i32 3 ; <double*> [#uses=3] %DoubleVar = getelementptr inbounds double* %Vars, i32 0 ; <d...
2020 Aug 25
2
ORC JIT - Incorrect support for COFF files?
...nitialize” function of LLVMJIT – however this only worked when I was loading a Module. When I added the object file (from the same source) the constructors were not called at all. What also really bothers me, when I load the object from disk and iterate over the symbols I will find: “_GLOBAL__sub_I_TestModule.cpp” but when I do a lookup on it, the symbol will not be found… It's like being sooo close to the constructor but den someone takes it away from me :< Plus object files seem to be not passed to the TransformationFunction so no luck there either. I solved this issue with Modules by either us...