summaryrefslogtreecommitdiffstats
path: root/llvm/examples/Kaleidoscope/Chapter7/toy.cpp
diff options
context:
space:
mode:
authorHafiz Abid Qadeer <hafiz_abid@mentor.com>2014-12-08 18:07:40 +0000
committerHafiz Abid Qadeer <hafiz_abid@mentor.com>2014-12-08 18:07:40 +0000
commit290ece827804d40e2e5e98832624d31434ef8e18 (patch)
tree5fc3f4a84777ee6cc217135a8272df4e02e38d03 /llvm/examples/Kaleidoscope/Chapter7/toy.cpp
parentbeadd56a7d4fb234699b95575fcbf2a8ff64498e (diff)
downloadbcm5719-llvm-290ece827804d40e2e5e98832624d31434ef8e18.tar.gz
bcm5719-llvm-290ece827804d40e2e5e98832624d31434ef8e18.zip
Fix a bug where global variable can be reported as local.
There was an error in ORing mask which is used for getting a list of variables. Previously, these constants were unnamed, and possible it become the reason of this bug. Also added test case for -stack-list-local and -stack-list_arguments. Patch from Ilia K <ki.stfu@gmail.com>. llvm-svn: 223674
Diffstat (limited to 'llvm/examples/Kaleidoscope/Chapter7/toy.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud