DIEHash: Use DW_FORM_sdata for integers, per spec.
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 16 Oct 2013 23:36:20 +0000 (23:36 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 16 Oct 2013 23:36:20 +0000 (23:36 +0000)
commitc0987082206d202c20ebe1d528c1b28a875160ac
tree2e6357bfceef3f8d6c4bcf8a60360861480a77cf
parenta85ad23a1fb6f7465705a5b69dad3d5e77d20df0
DIEHash: Use DW_FORM_sdata for integers, per spec.

This allows us to produce the same hash as GCC for at least some simple
examples.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192855 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DIEHash.cpp
lib/CodeGen/AsmPrinter/DIEHash.h
test/DebugInfo/X86/fission-hash.ll
unittests/CodeGen/DIEHashTest.cpp