search for: warn_msg

Displaying 2 results from an estimated 2 matches for "warn_msg".

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
...m_rules; ++num_eof_rules; } void format_synerr( msg, arg ) char msg[], arg[]; { char errmsg[2048]; (void) sprintf( errmsg, msg, arg ); synerr( errmsg ); } void synerr( str ) char str[]; { syntaxerror = 1; pinpoint_message( str ); } void format_warn( msg, arg ) char msg[], arg[]; { char warn_msg[2048]; (void) sprintf( warn_msg, msg, arg ); warn( warn_msg ); } void warn( str ) char str[]; { line_warning( str, linenum ); } void format_pinpoint_message( msg, arg ) char msg[], arg[]; { char errmsg[2048]; (void) sprintf( errmsg, msg, arg ); pinpoint_message( errmsg ); } void pinpoint...