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 <[email protected]> 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
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev


_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to