This is the mail archive of the
mailing list for the GCC project.
Re: [libcpp] maybe canonicalize system paths in line-map
Manuel LÃpez-IbÃÃez <firstname.lastname@example.org> a Ãcrit:
> Another drawback I didn't realize until now is that in this way the
> canonicalize every path, instead of only touching those that belong to
> system headers.
Ah. Good catch.
I guess file->dir->sysp should tell us if we are in a system directory,
so that we can avoid canonicalizing in that case.
> I am not sure if it is important or not.
I don't know either. But I guess we could err on the safe side by
limiting the change to system just headers like you were initially