Fix a latent bug exposed by recent static member debug info changes.
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 19 Jan 2013 23:00:25 +0000 (23:00 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 19 Jan 2013 23:00:25 +0000 (23:00 +0000)
commitb085931026a37dd0c544988a0ee80c78cd7313f2
tree7b7fb4e4e0745c921242ed293cadcdf39092a2c2
parent5fc79a415a42cf7f6c2c564a9570d439cdcb39c1
Fix a latent bug exposed by recent static member debug info changes.

We weren't encoding boolean constants correctly due to modeling boolean as a
signed type & then sign extending an i1 up to a byte & getting 255.

llvm-svn: 172926
llvm/lib/IR/DebugInfo.cpp
llvm/test/DebugInfo/X86/debug-info-static-member.ll