Displaying 2 results from an estimated 2 matches for "do_infile".
Did you mean:
do_file
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not
allocating RBP to any virtual register, the instances of RBP in function
foo are in the machine code when my register allocator starts.)
Function foo calls function bar. Register RBP is not saved across the
call, though it is live after the call. Function bar includes a virtual
register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...rif( msg, arg )
const char msg[];
int arg;
{
char errmsg[2048];
(void) sprintf( errmsg, msg, arg );
flexerror( errmsg );
}
void lerrsf( msg, arg )
const char msg[], arg[];
{
char errmsg[2048];
(void) sprintf( errmsg, msg, arg );
flexerror( errmsg );
}
void line_directive_out( output_file, do_infile )
FILE *output_file;
int do_infile;
{
char directive[2048], filename[2048];
char *s1, *s2, *s3;
static char line_fmt[] = "#line %d \"%s\"\n";
if ( ! gen_line_dirs )
return;
if ( (do_infile && ! infilename) || (! do_infile && ! outfilename) )
return;
s1...