summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-05-24 21:43:05 +0000
committerJordan Rose <jordan_rose@apple.com>2013-05-24 21:43:05 +0000
commit7291666cd9cb122d313a98784c207922daca0473 (patch)
tree8d8eb938f4ec747065900cb2e1d46f805f0d51c8 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
parent8c3984008780600a81cff25d5b020ff0ffe4bdce (diff)
downloadbcm5719-llvm-7291666cd9cb122d313a98784c207922daca0473.tar.gz
bcm5719-llvm-7291666cd9cb122d313a98784c207922daca0473.zip
[analyzer; new edges] Properly set location after exiting an inlined call.
The new edge algorithm would keep track of the previous location in each location context, so that it could draw arrows coming in and out of each inlined call. However, it tried to access the location of the call before it was actually set (at the CallEnter node). This only affected unterminated calls at the end of a path; calls with visible exit nodes already had a valid location. This patch ditches the location context map, since we're processing the nodes in order anyway, and just unconditionally updates the PrevLoc variable after popping out of an inlined call. <rdar://problem/13983470> llvm-svn: 182676
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud