diff options
author | Todd Fiala <todd.fiala@gmail.com> | 2014-09-15 16:01:29 +0000 |
---|---|---|
committer | Todd Fiala <todd.fiala@gmail.com> | 2014-09-15 16:01:29 +0000 |
commit | 3daa176986e097051b37476441cc5e5b5cd65930 (patch) | |
tree | b3fbf9a56a1130a7d0ca0efb2064a236c645de38 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 6891ba032126867aef35fb3573ebbb9728a53f8c (diff) | |
download | llvm-3daa176986e097051b37476441cc5e5b5cd65930.zip llvm-3daa176986e097051b37476441cc5e5b5cd65930.tar.gz llvm-3daa176986e097051b37476441cc5e5b5cd65930.tar.bz2 |
Properly decode architecture type in GDBRemoteCommunicationClient::GetCurrentProcessInfo.
Instead of forcing the remote arch type to MachO all the time, we
inspect the OS/vendor that the remote debug server reports and use it to
set the arch type to MachO, ELF or COFF accordingly.
See thread here for more context:
http://lists.cs.uiuc.edu/pipermail/lldb-commits/Week-of-Mon-20140915/012968.html
Change by Stephane Sezer.
Tested:
MacOSX 10.9.4 x86_64
Ubuntu 14.04 x86_64
llvm-svn: 217779
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions