aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorLogan Chien <tzuhsiang.chien@gmail.com>2014-03-09 16:21:03 +0000
committerLogan Chien <tzuhsiang.chien@gmail.com>2014-03-09 16:21:03 +0000
commit8153b368b601b72f9e3ebd356ed56213c7ada433 (patch)
tree5337c1fade7dacec08862fdafbcba34e7de4e4c4 /llvm/lib/CodeGen/MachineScheduler.cpp
parent24555e15efde6fdf3d7ad729c3d196564ff5bda2 (diff)
downloadllvm-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