diff options
author | Zachary Turner <zturner@google.com> | 2018-12-11 00:15:03 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2018-12-11 00:15:03 +0000 |
commit | 9d76e42014f1b73fbfb5c80b106332e1351ca703 (patch) | |
tree | 850ce1f9d3d237b0ccd9dda4f071742b8aa91794 /llvm/lib/CodeGen | |
parent | 08e231dd9c2715a7696f45785c5babd052bfa911 (diff) | |
download | bcm5719-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