diff options
author | Erich Keane <erich.keane@intel.com> | 2018-02-09 00:13:49 +0000 |
---|---|---|
committer | Erich Keane <erich.keane@intel.com> | 2018-02-09 00:13:49 +0000 |
commit | fa69c71dce481176b64546b5fbc098c967164575 (patch) | |
tree | 98196449a3966d73a9911cdf0c4329382417add7 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | a37e00968eafc83bbcdc8e31a49767ea3868d762 (diff) | |
download | llvm-fa69c71dce481176b64546b5fbc098c967164575.zip llvm-fa69c71dce481176b64546b5fbc098c967164575.tar.gz llvm-fa69c71dce481176b64546b5fbc098c967164575.tar.bz2 |
Fix UBSan issue with PPC::isValidCPUName
Apparently storing the pointer to a StringLiteral as
a StringRef caused this section of code to issue a ubsan
warning. This will hopefully fix that.
llvm-svn: 324687
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions