]> granicus.if.org Git - clang/commit
DebugInfo: ensure negative enumerators are emitted as such
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 24 Jun 2013 07:13:13 +0000 (07:13 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 24 Jun 2013 07:13:13 +0000 (07:13 +0000)
commitac8f43c9cb71880ed3fa7f56a2a2429eafbd4625
tree8fb0640a696308c53b0f0bd3372d03b33c3a929b
parenta32165c74c005a229bf2493040cb5c1ff7139f23
DebugInfo: ensure negative enumerators are emitted as such

There's still a problem here - since we're not appropriately using the
signedness/range of the enum to chooset the encoding and emission of
enumerators, but GCC has some bugs around this too so I assume that's
not /such/ a high priority though I may get to it soon out of
completeness.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184695 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
test/CodeGenCXX/debug-info-enum.cpp