[cfe-commits] r143345 - /cfe/trunk/lib/Frontend/InitHeaderSearch.cpp

Douglas Gregor dgregor at apple.com
Mon Oct 31 09:25:34 PDT 2011


Bill, please merge this to the 3.0 branch (part 2/3).

	- Doug

On Oct 31, 2011, at 1:42 AM, Chandler Carruth wrote:

> Author: chandlerc
> Date: Mon Oct 31 03:42:27 2011
> New Revision: 143345
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=143345&view=rev
> Log:
> Add "just one more" include path to the monstrosity that is our header
> search logic. The Debian multiarch seems to have completely changed from
> when these were originally added, and I'd like to remove a bunch of
> them, but I'll be lazy and delay that until this logic is hoisted into
> the driver where it belongs.
> 
> This should resolve PR11223.
> 
> Modified:
>    cfe/trunk/lib/Frontend/InitHeaderSearch.cpp
> 
> Modified: cfe/trunk/lib/Frontend/InitHeaderSearch.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/InitHeaderSearch.cpp?rev=143345&r1=143344&r2=143345&view=diff
> ==============================================================================
> --- cfe/trunk/lib/Frontend/InitHeaderSearch.cpp (original)
> +++ cfe/trunk/lib/Frontend/InitHeaderSearch.cpp Mon Oct 31 03:42:27 2011
> @@ -566,6 +566,7 @@
>       AddPath("/usr/include/x86_64-linux-gnu/32", System, false, false, false);
>       AddPath("/usr/include/i686-linux-gnu", System, false, false, false);
>       AddPath("/usr/include/i486-linux-gnu", System, false, false, false);
> +      AddPath("/usr/include/i386-linux-gnu", System, false, false, false);
>     } else if (triple.getArch() == llvm::Triple::arm) {
>       AddPath("/usr/include/arm-linux-gnueabi", System, false, false, false);
>     }
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list