aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-09-10 18:00:17 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-09-10 18:00:17 +0000
commit17a9cff55c43e85dcc118c51ca80b9729d8a2c1f (patch)
tree4a6c2bc87a9e4fb77fe4849f25964ad2749d6308 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
parentb653de1ada7e76a28bcc35402e6cd70f725e0690 (diff)
downloadllvm-17a9cff55c43e85dcc118c51ca80b9729d8a2c1f.zip
llvm-17a9cff55c43e85dcc118c51ca80b9729d8a2c1f.tar.gz
llvm-17a9cff55c43e85dcc118c51ca80b9729d8a2c1f.tar.bz2
Make CallingConv::ID an alias of "unsigned".
Summary: Make CallingConv::ID a plain unsigned instead of enum with a fixed set of valus. LLVM IR allows arbitraty calling conventions (you are free to write cc12345), and loading them as enum is an undefined behavior. This was reported by UBSan. Test Plan: llvm regression test suite Reviewers: nicholas Reviewed By: nicholas Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D5248 llvm-svn: 217529
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
0 files changed, 0 insertions, 0 deletions