summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2011-12-13 01:42:04 +0000
committerSean Callanan <scallanan@apple.com>2011-12-13 01:42:04 +0000
commitd5cc132b9848dc368717b3ff203fe77f89801ff5 (patch)
treedfdebcf5ce751a425f4fcc18d8560ae869f2e221 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parent7a084fdd39babbd2bafd3ee7174361fb0df8b86d (diff)
downloadbcm5719-llvm-d5cc132b9848dc368717b3ff203fe77f89801ff5.tar.gz
bcm5719-llvm-d5cc132b9848dc368717b3ff203fe77f89801ff5.zip
I have modified the part of the code that finds and
validates the "self," "this," and "_cmd" pointers that get passed into expressions. It used to check them aggressively for validity before allowing the expression to run as an object method; now, this functionality is gated by a bool and off by default. Now the default is that when LLDB is stopped in a method of a class, code entered using "expr" will always masquerade as an instance method. If for some reason "self," "this," or "_cmd" is unavailable it will be reported as NULL. This may cause the expression to crash if it relies on those pointers, but for example getting the addresses of ivars will now work as the user would expect. llvm-svn: 146465
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud