for review (S): 6771309: debugging AD files is difficult without #line directives in generated code

John Rose John.Rose at Sun.COM
Thu Nov 13 13:15:33 PST 2008

(Note: I'd be grateful for a tweak to this which puts in anti- 
#lines.  That is, at the end of a code insertion from <arch>.ad,  
there should be a #line which directs the debugger back to the  
generated code in the the ad_<arch>.cpp file.  This is difficult,  
because nobody keeps track of the output line number in  
output_c.cpp.  But an awk script could do the trick neatly, if it  
were added to the ADLC pipeline.)

-- John

More information about the hotspot-compiler-dev mailing list