Fix issues with LLDB's interpreter and MS ABI guard variables.
authorZachary Turner <zturner@google.com>
Fri, 9 Jan 2015 21:12:22 +0000 (21:12 +0000)
committerZachary Turner <zturner@google.com>
Fri, 9 Jan 2015 21:12:22 +0000 (21:12 +0000)
commitf16ae603e85fe4b48a09efd1c4ced1a24325aed6
tree6ccf159c2eaea347d90995d0376f34aa394fc626
parent96fc9a25376c29ab85ed881a087119b597bf61f4
Fix issues with LLDB's interpreter and MS ABI guard variables.

MS ABI guard variables end with @4IA, so this patch teaches the
interpreter about that.  Additionally, there was an issue with
TurnGuardLoadIntoZero which was causing some guard uses of a
variable to be missed.  This fixes that by calling
Instruction::replaceAllUsesWith() instead of trying to replicate
that function.

llvm-svn: 225547
lldb/source/Expression/IRForTarget.cpp