diff options
author | Siva Chandra <sivachandra@google.com> | 2015-06-05 18:07:10 +0000 |
---|---|---|
committer | Siva Chandra <sivachandra@google.com> | 2015-06-05 18:07:10 +0000 |
commit | 29e03929444e29822eb7cfe64609c6abc9c36b74 (patch) | |
tree | 142439c040276800b9dfc9bd1b531198de571355 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | c80dad6f18bbd2a1111df3e6d1fde20661094720 (diff) | |
download | llvm-29e03929444e29822eb7cfe64609c6abc9c36b74.zip llvm-29e03929444e29822eb7cfe64609c6abc9c36b74.tar.gz llvm-29e03929444e29822eb7cfe64609c6abc9c36b74.tar.bz2 |
[lldbtest] Use netloc instead of hostname to look up Android device ID.
Summary:
urlparse.ParseResult.hostname has only lowercase characters even if the
input URL had uppercase characters. Since Android device IDs can have
uppercase characters as well, use urlparse.ParseResult.netloc instead
and extract the device ID from it.
This change also improves the error message when lookup of the Android
device's API fails.
Reviewers: chaoren
Reviewed By: chaoren
Subscribers: tberghammer, lldb-commits
Differential Revision: http://reviews.llvm.org/D10278
llvm-svn: 239173
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions