summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LivePhysRegs.cpp
diff options
context:
space:
mode:
authorHafiz Abid Qadeer <hafiz_abid@mentor.com>2015-09-04 11:26:53 +0000
committerHafiz Abid Qadeer <hafiz_abid@mentor.com>2015-09-04 11:26:53 +0000
commit3c3466529b168e9daee705bcd950eb1d2ea9359a (patch)
tree7e5780ee544719f24dca2f22ddfae0d6f90c88c7 /llvm/lib/CodeGen/LivePhysRegs.cpp
parentcaacd53dde6ea46d03abf272aa996957433ce31d (diff)
downloadbcm5719-llvm-3c3466529b168e9daee705bcd950eb1d2ea9359a.tar.gz
bcm5719-llvm-3c3466529b168e9daee705bcd950eb1d2ea9359a.zip
Fix multiple problems in -break-condition command.
1. To handle the expression with spaces, this command uses 2 arguments. For a case like -break-condition 1 i == 5, the first will pick the 'i' and second will pick the '== 5'. But the second argument was made mandatory which failed in cases when there was no space in the expression like i==5. 2. The function GetRestOfExpressionNotSurroundedInQuotes has 2 locals with the same names. It resulted in one hiding the other and this function always returned empty string. No regression on Linux. Committed as obvious. llvm-svn: 246847
Diffstat (limited to 'llvm/lib/CodeGen/LivePhysRegs.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud