aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSiva Chandra <sivachandra@google.com>2015-06-05 18:07:10 +0000
committerSiva Chandra <sivachandra@google.com>2015-06-05 18:07:10 +0000
commit29e03929444e29822eb7cfe64609c6abc9c36b74 (patch)
tree142439c040276800b9dfc9bd1b531198de571355 /clang/lib/CodeGen/CodeGenModule.cpp
parentc80dad6f18bbd2a1111df3e6d1fde20661094720 (diff)
downloadllvm-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