diff options
author | Logan Chien <tzuhsiang.chien@gmail.com> | 2014-03-09 16:21:03 +0000 |
---|---|---|
committer | Logan Chien <tzuhsiang.chien@gmail.com> | 2014-03-09 16:21:03 +0000 |
commit | 8153b368b601b72f9e3ebd356ed56213c7ada433 (patch) | |
tree | 5337c1fade7dacec08862fdafbcba34e7de4e4c4 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 24555e15efde6fdf3d7ad729c3d196564ff5bda2 (diff) | |
download | llvm-8153b368b601b72f9e3ebd356ed56213c7ada433.zip llvm-8153b368b601b72f9e3ebd356ed56213c7ada433.tar.gz llvm-8153b368b601b72f9e3ebd356ed56213c7ada433.tar.bz2 |
Fix uninitialized value in AttributedTypeLoc.
Clang might crash while reading the precompiled headers if
we don't initialize the AttrEnumOperandLoc properly.
This commit fixes the combination of string attribute
operand and enum operand. Besides, this commit also adds
several assertions to avoid unexpected operand kind.
llvm-svn: 203416
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions