]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
DwarfCompileUnit: Initialize DebugInfoOffset.
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 20 Nov 2013 18:52:39 +0000 (18:52 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 20 Nov 2013 18:52:39 +0000 (18:52 +0000)
commitba883cebd634c877e56341c1206b8518bcf40452
tree6aa8e3b6426452be5394bc2067aaebda9d4fa459
parent89cadbe6b075f77f14544e1d93ceab6d9fe6e41c
DwarfCompileUnit: Initialize DebugInfoOffset.

While not strictly necessary (the class has an invariant that
"setDebugInfoOffset" is called before "getDebugInfoOffset" - anyone
client that actually gets the default zero offset is buggy/broken) this
is consistent with the code as originally written and the removal of the
initialization was an accident in r195166.

Suggested by Manman Ren.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195263 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp