aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectCommands.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-10-10 22:20:26 +0000
committerJustin Bogner <mail@justinbogner.com>2014-10-10 22:20:26 +0000
commita8dd73229ebde88a130ad7b5fd668bf3593a8c58 (patch)
tree49fa06189c227edea926a0533988a2ce4a55da43 /lldb/source/Commands/CommandObjectCommands.cpp
parent61cc9083d030f6b419aeb4579592b72134f39246 (diff)
downloadllvm-a8dd73229ebde88a130ad7b5fd668bf3593a8c58.zip
llvm-a8dd73229ebde88a130ad7b5fd668bf3593a8c58.tar.gz
llvm-a8dd73229ebde88a130ad7b5fd668bf3593a8c58.tar.bz2
Correctly handle reading locations from serialized diagnostics
When reading a serialized diagnostic location with no file ID, we were failing to increment the cursor past the rest of the location. This would lead to the flags and category always appearing blank in such diagnostics. This changes the function to unconditionally increment the cursor and updates the test to check for the correct output instead of testing that we were doing this wrong. I've also updated the error check to check for the correct number of fields. llvm-svn: 219538
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions