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)
commitfe07db323b2b403236375af0a54b0ed2294cd0e6
tree0c6fc17233e370d0b15a898081f015b4e16b9fdb
parentbc837200ebdef6d41a33d23019f428fb0579d226
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172926 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/DebugInfo.cpp
test/DebugInfo/X86/debug-info-static-member.ll