[llvm-commits] [llvm] r56942 - in /llvm/trunk: include/llvm/System/Host.h lib/System/Host.cpp lib/System/Unix/Host.inc lib/System/Win32/Host.inc
Daniel Dunbar
daniel at zuster.org
Thu Oct 2 10:43:29 PDT 2008
Agreed.
I'll add this to my TODO list, and drop the Host stuff when it is done.
- Daniel
On Thu, Oct 2, 2008 at 10:14 AM, Chris Lattner <clattner at apple.com> wrote:
>
> On Oct 2, 2008, at 9:21 AM, Daniel Dunbar wrote:
>
>> clang had a need to rewrite the OS portion of the target triple to
>> that
>> of the host in some situations, and I didn't want it to embed a uname
>> call.
>>
>> Is your question related to the ambiguity of these queries?
>>
>> If you dislike this approach, perhaps a better one would be to add
>> functionality to get the target-triple of the host machine?
>
> Just from the interface design perspective, I think it would make
> sense to make this a "give me the host's target triple" interface. It
> would be a lot easier to explain what it is supposed to do.
>
> -Chris
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
More information about the llvm-commits
mailing list