diff options
author | Zachary Turner <zturner@google.com> | 2016-07-28 17:13:32 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-07-28 17:13:32 +0000 |
commit | e78a34757eaf0ed20e30aaaef09d60b4a00ec8c2 (patch) | |
tree | b30938be5123ae359bd8fcdf9f4a8a22f36f5691 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h | |
parent | d7748d649194b33bd66c2dc6e58bcf4e2b442179 (diff) | |
download | bcm5719-llvm-e78a34757eaf0ed20e30aaaef09d60b4a00ec8c2.tar.gz bcm5719-llvm-e78a34757eaf0ed20e30aaaef09d60b4a00ec8c2.zip |
[Driver] Fix Windows SDK Detection
This fixes a couple of bugs in Windows SDK Detection.
1. `readFullStringValue` returns a bool, but was being compared
with ERROR_SUCCESS.
2. `RegQueryValueExW` might return the null terminator in the
queried value which will result in incorrect values being
returned from `getSystemRegistryString`.
Patch By: comicfans44@gmail.com
Reviewed By: zturner
Differential Revision: http://reviews.llvm.org/D21946
llvm-svn: 277005
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h')
0 files changed, 0 insertions, 0 deletions