diff options
author | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2014-12-08 18:07:40 +0000 |
---|---|---|
committer | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2014-12-08 18:07:40 +0000 |
commit | 290ece827804d40e2e5e98832624d31434ef8e18 (patch) | |
tree | 5fc3f4a84777ee6cc217135a8272df4e02e38d03 /llvm/examples/Kaleidoscope/Chapter8/toy.cpp | |
parent | beadd56a7d4fb234699b95575fcbf2a8ff64498e (diff) | |
download | bcm5719-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/Chapter8/toy.cpp')
0 files changed, 0 insertions, 0 deletions