[LLVMdev] unable to interface with target machine
contact at philipashmore.com
Thu Nov 15 01:15:57 PST 2012
On 15/11/12 08:58, Duncan Sands wrote:
>> Is there a way to get the target triple of the machine the code is
>> running on,
>> or barring that, the machine llvm was built on?
> clang -v
> Ciao, Duncan.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
Sorry for not being specific enough - I meant in code.
I tried some clang functions to try to get the triplet using clang
functions but it still caused the error.
Sorry but I can't remember which ones I tried - the compromise I ended
up with can't be the best way.
More information about the llvm-dev