search for: argn

Displaying 20 results from an estimated 56 matches for "argn".

Did you mean: arg
2014 Feb 13
3
[LLVMdev] cmake/ninja build failing
...in=7.0 -isysroot ${IOSSIM_SDK_DIR}) >> >> where IOSSIM_SDK_DIR is the path including spaces and parens. > > It looks like the _CFLAGS values are used in the module > cmake/Modules/CompilerRTUtils.cmake: > > function(set_target_compile_flags target) > foreach(arg ${ARGN}) > set(argstring "${argstring} ${arg}") > endforeach() > set_property(TARGET ${target} PROPERTY COMPILE_FLAGS "${argstring}") > endfunction() > > but that makes no attempt to escape or quote anything. > > The COMPILE_FLAGS target property was a...
2005 Aug 24
1
[LLVMdev] CallInst constructor interface
...serting a call instruction is a bit of a pain. The only way I know how to do it is to write a bunch of code like the following: std::vector<const Type*> formalArgs; formalArgs.push_back(arg1->getType()); formalArgs.push_back(arg2->getType()); ... formalArgs.push_back(argn->getType()); std::vector<Value*> args; args.push_back(arg1); args.push_back(arg2); ... args.push_back(argn); FunctionType *FType = FunctionType::get(RetTy, formalArgs, false); Module *M = before->getParent()->getParent()->getParent(); Function *F = M->getOrInsertFunctio...
2009 Oct 22
1
Help regarding removing Inf from dataframe, creating new dataframe with selected variables, count function
...y 0/1 so even if market cap status changed once, take value 1. 5. create output file containing some already existed variables and newly created variables. following is sample data: Date AssetId Name Country Liquidity MCName 2006_12_31 322833 YPF 'D' Argentina 1 LC 2006_12_31 321948 TELECOM ARGN.'B' Argentina 1 LC 2006_12_31 320205 TELEFONICA DE ARGN.'B' Argentina 1 LC 2007_12_31 874140 YPF 'D' Argentina 1 LC 2006_12_31 281678 PETROBRAS ENGA.PPC.'B' Argentina 1 LC 2006_12_31 992260 PETROBRAS ENERGIA 'B' Argentina 1 LC 2007_12_31 320148 TELECOM ARGN.&...
2009 Sep 30
2
[LLVMdev] Can I modify C syntax by using Clang and LLVM?
I want to add command line (shell) like statement to C is it possible to implement this syntax by clang and llvm? The syntax is like func arg1 arg2 ... argn; and define func like void func( int arg1, int arg2, ..., int argn) { ...} Charlie -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090929/750811c0/attachment.html>
2016 Sep 03
2
How to insert instructions before each function calls?
I'm trying to insert some instructions before each function calls (before arguments push): lea %EAX, label ----- new instructions mov [ESP+stacksize], %EAX ----- new instructions push arg1 push arg2 ... push argn call callee_name I am a newbie to LLVM. I tried to use buildMI() to insert the instructions in the lowercall() function. But I couldn't put these instructions in the right positions. Is there a way to locate the position by using MachineBasicBlock iterator? Any suggestions are appreciated....
2019 Jun 09
2
como graficar una coordenada en un mapa
Hola a todos. Soy nuevo en R, estoy aprendiendo con tutoriales y lo hago sin un fin comercial y/o laboral. Necesito ayuda para mostrar un mapa y sobre ese mapa poner un punto dado por una coordenada. con esto consigo mostrar el mapa. library(raster) arg<-getData('GADM', country='ARG', level=0) plot(arg) En ese mapa quiero mostrar un punto que está en el sistema de
2011 Jun 04
2
call / do.call expression too big
I am designing a remote procedure protocol for R, which basically performs a do.call on data and arguments supplied by a client. However, I am experiencing unfortunate behavior of the do.call function. The function do.call seems to serialize all objects in the args list, resulting in an enormous expression, that is then in some way or another returned by many functions. A short example: args
2016 Sep 04
1
How to insert instructions before each function calls?
...gt;>>> (before arguments push): >>>> lea %EAX, label ----- new instructions >>>> mov [ESP+stacksize], %EAX ----- new instructions >>>> push arg1 >>>> push arg2 >>>> ... >>>> push argn >>>> call callee_name >>>> >>>> I am a newbie to LLVM. I tried to use buildMI() to insert the >>>> instructions in the lowercall() function. But I couldn't put these >>>> instructions in the right positions. Is there a way to locate...
2013 Jul 30
0
[LLVMdev] Proposing a new 'alloca' parameter attribute to implement the Microsoft C++ ABI
How do you handle this during codegen? One problem is avoid stack changes (like spills). Another is coordinating things that are using allocas and those that are not but end up in the stack. Consider void foo(int arg1, int arg2, int arg3, ....CXXTypeWithCopyConstructor argn, int argp1...) You will need an alloca for argn, but the ABI also requires it to be next to the plain integers that didn' fit in registers, no? This is part of the reason my suggestion was to have a single opaque object representing the frame being constructed and a getelementpointer like abst...
2016 Sep 04
2
How to insert instructions before each function calls?
...to insert some instructions before each function calls (before >> arguments push): >> lea %EAX, label ----- new instructions >> mov [ESP+stacksize], %EAX ----- new instructions >> push arg1 >> push arg2 >> ... >> push argn >> call callee_name >> >> I am a newbie to LLVM. I tried to use buildMI() to insert the >> instructions in the lowercall() function. But I couldn't put these >> instructions in the right positions. Is there a way to locate the position >> by using MachineB...
2009 May 29
4
can Dtrace be used for the error injection?
Hi, is it somehow possible to use Dtrace for error injection in a kernel module? Something like changing: - function return value - value of a register If not, can it be implemented? I can do that via kmdb, but I need Dtrace for the time synchronization - chill() action. I can not combine Dtrace & kmdb: dtrace: failed to initialize dtrace: DTrace cannot be used when kernel debugger
2016 Sep 05
2
How to insert instructions before each function calls?
...m trying to insert some instructions before each function calls (before arguments push): >> lea %EAX, label ----- new instructions >> mov [ESP+stacksize], %EAX ----- new instructions >> push arg1 >> push arg2 >> ... >> push argn >> call callee_name >> >> I am a newbie to LLVM. I tried to use buildMI() to insert the instructions in the lowercall() function. But I couldn't put these instructions in the right positions. Is there a way to locate the position by using MachineBasicBlock iterator? >...
2012 Jun 02
1
[LLVMdev] update simple style checker... handle globs and recursion now
When I run this now on the Target branch alone, it finds 22,000 errors from just simple things like lines too long, tabs and whitespace at the end of lines. More features to come. Usage: style_check.py arg1 arg2 ... argn [options] Options: -h, --help show this help message and exit --no-check-for-tabs don't check for tabs --no-check-line-length don't check line length --max-line-length=MAXLINELENGTH specify maximum line length [defa...
2007 Jan 20
1
func_odbc still working in trunk?
...c.c:218 acf_odbc_read: No such function 'ODBC_CIDName(3143212222)' And that, after... *CLI> core show functions like ODBC Matching Custom Functions: -------------------------------------------------------------------------------- ODBC_CIDName ODBC_CIDName(<arg1>[...[,<argN>]]) Runs the referenced query with the specified arguments ODBC_LookupCIDName ODBC_LookupCIDName(<arg1>[...[,<arg Runs the referenced query with the specified arguments ODBC_TEST ODBC_TEST(<arg1>[...[,<argN>]]) Runs the referenced query with the specif...
2016 Nov 23
2
Non-global variable that follows channel?
...digium.com/pipermail/asterisk-users/2016-November/290384.html, at the moment I'm passing one variable via DIAL. Now I'd like to pass a whole bunch, and my idea was to rather than having a great string of b(synctest3b^setVar^1(something)^2(more things)^3(etc)) and then get them with ARG1..ARGn etc, I could bundle the whole lot into a HASH and then unbundle them at the called channel. Passing the HASH as a var isn't working (I wasn't expecting it to!) but is there any other way of doing this, or is it setVar for each one?
2013 Jul 30
1
[LLVMdev] Proposing a new 'alloca' parameter attribute to implement the Microsoft C++ ABI
...crete plan for this, and it will require more familiarity with the backend than I currently have. Another is coordinating things that are using > allocas and those that are not but end up in the stack. Consider > > void foo(int arg1, int arg2, int arg3, ....CXXTypeWithCopyConstructor > argn, int argp1...) > > You will need an alloca for argn, but the ABI also requires it to be > next to the plain integers that didn' fit in registers, no? This is > part of the reason my suggestion was to have a single opaque object > representing the frame being constructed and a get...
2009 Oct 12
2
SPRINTF option : format %1$s not supported
Hi, With 1.6.1.7-rc2, doc says: select*CLI> -= Info about function 'SPRINTF' =- [Syntax] SPRINTF(<format>,<arg1>[,...<argN>]) [Synopsis] Format a variable according to a format string [Description] Parses the format string specified and returns a string matching that format. Supports most options supported by sprintf(3). Returns a shortened string if a format specifier is not recognized. I'm trying use spr...
2020 Feb 04
1
Looking for sample hangup_handler_pop and _wipe using vars
Please point me to samples of popping and wiping hangup handlers. I don't need to use the values returned; I just need to clear any handlers before I push a new one. It's not clear at https://wiki.asterisk.org/wiki/display/AST/Hangup+Handlers+Specification how to provide vars on the right-hand side. Cheers, David -------------- next part -------------- An HTML attachment was scrubbed...
2014 Feb 12
2
[LLVMdev] cmake/ninja build failing
A couple of llvm sub-projects have been failing to build for me for a while (compiler-rt asan and util/unittests, at least). It turns out to be due to the fact that some paths on my system include spaces and other special characters, but the the build.ninja file was not generated with correctly quoted strings. Specifically I'm on OS X and the command is setting -isysroot to a location inside
2018 Apr 11
2
[compiler-rt] r329776 - [XRay][compiler-rt] Fix osx-based builds
...end_list_if(COMPILER_RT_HAS_LIBDL -ldl XRAY_UNITTEST_LINK_FLAGS) > + append_list_if(COMPILER_RT_HAS_LIBPTHREAD -pthread XRAY_UNITTEST_LINK_FLAGS) > +endif() > + > macro(add_xray_unittest testname) > cmake_parse_arguments(TEST "" "" "SOURCES;HEADERS" ${ARGN}) > if(UNIX AND NOT APPLE) > set(CMAKE_DL_LIBS_INIT "") > - foreach(lib ${CMAKE_DL_LIBS}) > - list(APPEND CMAKE_DL_LIBS_INIT -l${lib}) > - endforeach() > foreach(arch ${XRAY_TEST_ARCH}) > set(TEST_OBJECTS) > get_xray_lib_for_arch(${...