summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2018-12-11 00:15:03 +0000
committerZachary Turner <zturner@google.com>2018-12-11 00:15:03 +0000
commit9d76e42014f1b73fbfb5c80b106332e1351ca703 (patch)
tree850ce1f9d3d237b0ccd9dda4f071742b8aa91794 /llvm/lib/CodeGen
parent08e231dd9c2715a7696f45785c5babd052bfa911 (diff)
downloadbcm5719-llvm-9d76e42014f1b73fbfb5c80b106332e1351ca703.tar.gz
bcm5719-llvm-9d76e42014f1b73fbfb5c80b106332e1351ca703.zip
Fix undefined behavior in Variable.h
m_loc_is_constant_data was uninitialized, so unless someone explicitly called SetLocIsConstantData(), this would be UB. I think every existing call-site would always call the proper function to initialize the value, so there were no existing bugs, but I encountered this when I tried to use it without calling this function and encountered this. llvm-svn: 348813
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud