search for: fnname

Displaying 15 results from an estimated 15 matches for "fnname".

Did you mean: fname
2011 Oct 25
1
R fails when converting units using Hershey-Fonts
...y(grid) > label <- "some text" > pushViewport(viewport(gp=gpar(fontfamily="HersheySerif"))) > convertHeight(stringHeight(label), unitTo="mm") *** caught segfault *** address 0xadc838f8, cause 'memory not mapped' Traceback: 1: .Call(fnname, ..., PACKAGE = "grid") 2: grid.Call("L_convert", x, as.integer(whatfrom), as.integer(whatto), valid.units(unitTo)) 3: convertUnit(x, unitTo, "y", "dimension", "y", "dimension", valueOnly = valueOnly) 4: convertHeight(stringHeight(l...
2005 Oct 16
2
[LLVMdev] Help on LLVM Instrumentation
Hi , I am using LLVM for my Post Graduate course project on Optimization. I am trying to do some insrtumentation to the bytecode.I 've been going through your Instrumentation code for the past few days in /llvm/lib/Transforms/Instrumentation folder and finally found two ways of instrumentation : 1) injecting LLVM bytecode instructions 2) calling an external C function. I am trying both and
2004 May 21
1
[LLVMdev] Re: LLVMdev digest, Vol 1 #292 - 4 msgs
...:Module&)+0x1b)[0x85dfc8d] opt(llvm::PassManager::run(llvm::Module&)+0x1f)[0x8595fb1] opt(main+0x97f)[0x838273b] opt(__libc_start_main+0xa4)[0x420158d4] opt(dlopen+0x41)[0x8381d2d] Aborted Source code: static void InsertInstrumentationCall( BasicBlock *BB, const std::string FnName, unsigned BBnumber){ Module &M = *BB->getParent()->getParent(); Function *InstrFn = M.getOrInsertFunction (FnName , Type::VoidTy, Type::UIntTy,0); std::vector<Value *> Args(1); Args[0] = ConstantUInt::get(Type::UIntTy, BBnumber); // Insert Call after first inst...
2008 Feb 05
2
Error in grid.text after tcltk package loaded
...REAL() can only be applied to a 'numeric', not a 'char' In addition: Warning message: In grid.Call.graphics("L_text", as.graphicsAnnot(x$label), x$x, : supplied color is not numeric nor character My traceback always looks like this: > traceback() 5: .Call.graphics(fnname, ..., PACKAGE = "grid") 4: grid.Call.graphics("L_text", as.graphicsAnnot(x$label), x$x, x$y, resolveHJust(x$just, x$hjust), resolveVJust(x$just, x$vjust), x$rot, x$check.overlap) 3: drawDetails.text(x, recording = FALSE) 2: drawDetails(x, recording = FALSE) 1...
2019 Jun 26
3
[nbdkit PATCH v2 0/2] adding nbdkit --run '$uri'
Since v1: - new patch to add uri_quote() - rebase on top of other recent patches needed while auditing shell_quote() - use uri_quote() instead of shell_quote() for producing $uri Eric Blake (2): common/utils: Add uri_quote and tests captive: Support $uri in --run docs/nbdkit-captive.pod | 8 ++- common/utils/utils.h | 1 + common/utils/test-quotes.c | 108
2019 Aug 23
2
LLVM-8.0 | Requesting Help : Function->getName() returns empty string
Hello All, I am creating a Module and getting Function pointer as below in some function. Function *fn = module->getFunction(fnName); printf("func Name: %s.\n", fn->getName().str().c_str()); . . return (intptr_t) fn; This prints : "func Name: main." I convert the ptr to int and return it. Later I am receiving this as a Func Handler in other function executeFunction(int funcHandle . .) { . . Functio...
2010 Feb 17
2
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...ExprAST *LHS = ParsePrimary(); if (!LHS) return 0; return ParseBinOpRHS(0, LHS); } /// prototype /// ::= id '(' id* ')' static PrototypeAST *ParsePrototype() { if (CurTok != tok_identifier) return ErrorP("Expected function name in prototype"); std::string FnName = IdentifierStr; getNextToken(); if (CurTok != '(') return ErrorP("Expected '(' in prototype"); std::vector<std::string> ArgNames; while (getNextToken() == tok_identifier) ArgNames.push_back(IdentifierStr); if (CurTok != ')') return Er...
2010 Feb 17
0
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...rn 0; > > return ParseBinOpRHS(0, LHS); > } > > /// prototype > /// ::= id '(' id* ')' > static PrototypeAST *ParsePrototype() { > if (CurTok != tok_identifier) > return ErrorP("Expected function name in prototype"); > > std::string FnName = IdentifierStr; > getNextToken(); > > if (CurTok != '(') > return ErrorP("Expected '(' in prototype"); > > std::vector<std::string> ArgNames; > while (getNextToken() == tok_identifier) > ArgNames.push_back(IdentifierStr); > if (...
2008 Jul 17
0
[LLVMdev] Pass Added as Required fails assert
...forms/Instrumentation/LAMPProfiling.cpp:93 93 AU.addRequired<LdStCallCounter>(); (gdb) c Continuing. 32 30 5 Breakpoint 3, doInitialization (this=0x88072c8, F=@0x8807d90) at /home/pprabhu/llvm/llvm/lib/Transforms/Instrumentation/LAMPProfiling.cpp:135 135 const char* FnName = "LAMP_init"; (gdb) n 137 if (lampFuncs[0] == NULL) (gdb) n 139 Module* M = F.getParent(); (gdb) n 140 createLampDeclarations(M); (gdb) n 143 if (F.getName() == "main") { (gdb) n 145 Module* M = F.getParent(); (...
2010 Feb 17
1
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...S(0, LHS); >> } >> >> /// prototype >> ///   ::= id '(' id* ')' >> static PrototypeAST *ParsePrototype() { >>  if (CurTok != tok_identifier) >>    return ErrorP("Expected function name in prototype"); >> >>  std::string FnName = IdentifierStr; >>  getNextToken(); >> >>  if (CurTok != '(') >>    return ErrorP("Expected '(' in prototype"); >> >>  std::vector<std::string> ArgNames; >>  while (getNextToken() == tok_identifier) >>    ArgNames.push...
2008 Jul 17
2
[LLVMdev] Pass Added as Required fails assert
Hey all, We have been working on a pass that uses another pass to count loads and stores prior to performing its own instrumentation. The second pass adds the first as required via the usual getAnalysisUsage function. On one machine, it has been tested and proven to function correctly. On another machine, whenever the second pass is run, it consistently fails the assertion: opt:
2006 Sep 05
4
Two submitted packages
## This example runs in R 2.3.1 and does not run in R 2.4.1. I am ## raising it here for two questions: one on how to debug functions ## inside a namespace, the other on how to control clipping. tmp <- data.frame(x=1:5, y=1:5, a=factor(c(1,1,1,1,1), levels=1:4)) xyplot(y ~ x, data=tmp, ylim=c(1.5,4.5), panel=function(x,y, ...) { cpv <- current.viewport()
2009 Dec 01
6
raster support in graphics devices
Hi This is for developers of extension packages that provide extra *graphics devices* for R. In the *development* version of R, support has been added to the graphics engine for sending raster images (bitmaps) to a graphics device. This consists mainly of two new device functions: dev_Raster() and dev_Cap(). The R_GE_version constant (in GraphicsEngine.h) has been bumped up to 6 as a
2012 Dec 12
43
[PATCH 00/37] [RFC] revamped modeset locking
Hi all, First thing first: It works, I now no longer have a few dropped frames every 10s on my testbox here with the pageflip i-g-t tests. Random notes: - New design has per-crtc locks to protect the crtc input-side (pageflip, cursor) for r/w and the output state of the crtc (mode, dpms) as read-only. It also required completely revamped fb lifecycle management, those are now refcounted
2020 Aug 20
15
[PATCH nbdkit 0/13] Port to Windows without using a separate library.
Also available here: https://github.com/rwmjones/nbdkit/tree/2020-windows-mingw-nolib After a lot of work I have made the port to Windows work without using a separate library. Instead, on Windows only, we build an "import library" (library of stubs) which resolves references to nbdkit_* functions in the main program and fixes up the plugin, basically the first technique outlined in