re PR lto/65015 (LTO produces randomly ordered debug information)
2015-02-16 Richard Biener <rguenther@suse.de> PR lto/65015 * varasm.c (default_file_start): For LTO produced units emit <artificial> as file directive. From-SVN: r220735
This commit is contained in:
parent
a933d47ffa
commit
2d4df88383
@ -1,3 +1,9 @@
|
||||
2015-02-16 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR lto/65015
|
||||
* varasm.c (default_file_start): For LTO produced units
|
||||
emit <artificial> as file directive.
|
||||
|
||||
2015-02-16 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/63593
|
||||
|
@ -7043,8 +7043,14 @@ default_file_start (void)
|
||||
fputs (ASM_APP_OFF, asm_out_file);
|
||||
|
||||
if (targetm.asm_file_start_file_directive)
|
||||
{
|
||||
/* LTO produced units have no meaningful main_input_filename. */
|
||||
if (in_lto_p)
|
||||
output_file_directive (asm_out_file, "<artificial>");
|
||||
else
|
||||
output_file_directive (asm_out_file, main_input_filename);
|
||||
}
|
||||
}
|
||||
|
||||
/* This is a generic routine suitable for use as TARGET_ASM_FILE_END
|
||||
which emits a special section directive used to indicate whether or
|
||||
|
Loading…
Reference in New Issue
Block a user