[lldb-dev] Help on correct setup to build lldb on windows. No host platform architecture?

Greg Clayton gclayton at apple.com
Tue Mar 18 12:52:07 PDT 2014

You might start by trying to add this row right next to the "x86_64" row:

    { eByteOrderLittle, 8, 1, 15, llvm::Triple::x86_64 , ArchSpec::eCore_x86_64_x86_64  , "i686"    },

On Mar 18, 2014, at 12:50 PM, Greg Clayton <gclayton at apple.com> wrote:

> You need to modify g_core_definitions in ArchSpec.cpp to contain an entry for "i686". Is this a supported llvm triple? If so, please do make sure you add a valid settings for it.
> On Mar 18, 2014, at 11:44 AM, Yin Ma <yin at affinic.com> wrote:
>> Hi,
>> I have built lldb.exe on a 64bit Windows 7. Lldb.exe is 32bit PE executable.
>> The LLVM TARGET TRIPLE is i686-pc-win32.
>> However, when file any executable, lldb will show this error message
>> Error: ‘a.exe’ doesn’t contain any ‘host’ platform architectures:
>> I debugged into LLDB, I found
>> ArchSpec.cpp SetTriple doesn’t recognize i686-pc-win32 at all.
>> And if win32 in the triple, Host::GetArchitecture will set not to
>> Recognize any x64 executable neither.
>> I would like to know if anybody knows how to configure lldb.exe
>> On windows to solve this issue?
>> Thanks,
>> Yin
>> _______________________________________________
>> lldb-dev mailing list
>> lldb-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

More information about the lldb-dev mailing list