summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2016-04-05 21:40:45 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2016-04-05 21:40:45 +0000
commit7e5404cc2069df535019a71d8b0139706f3e5c25 (patch)
tree1a5be74092db0f02d64357c148ceb95d20f1aa21 /lldb/packages/Python/lldbsuite/test/functionalities
parentc94fbee9f66ea7f5777accf421096808bbb083b1 (diff)
downloadbcm5719-llvm-7e5404cc2069df535019a71d8b0139706f3e5c25.tar.gz
bcm5719-llvm-7e5404cc2069df535019a71d8b0139706f3e5c25.zip
[CFLAA] Fix PR27213; incorrect tagging of args/globals
Prior to this patch, CFLAA wouldn't tag arguments/globals properly if it didn't find any "interesting" edges on them. This means that, if all you do is store constants to a global or argument, we would never actually treat it as a global/argument. Test case: define void @foo(i32* %A, i32* %B) #0 { entry: store i32 0, i32* %A, align 4 store i32 0, i32* %B, align 4 ret void } CFLAA would say that %A can't alias %B, because neither pointer was used in an interesting way. This patch makes us note whether something is an argument, global, ... regardless of how interesting CFLAA thinks its uses are. (For the record, using a value in an interesting way means loading from it, using it in a GEP, ...) llvm-svn: 265474
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud