dwarf2out.c (prefix_of): New function.
* dwarf2out.c (prefix_of): New function. Determine longest common prefix of the two arguments. The units are whole path components. (output_file_names): When adding a new directory find the one entry with the longest common prefix already in the list. Artificially generate entry if there is none for this prefix. Fix test to check whether the zeroth directory entry is used. : ---------------------------------------------------------------------- From-SVN: r39253
Showing
Please
register
or
sign in
to comment