Fix un-initialized error introduced by r291959.

This is uncovered when running tools/dsymutil/X86/empty_range.s.test
with ASAN. Haven't investigate yet, whether that means there is an ODR
violation in that test.

llvm-svn: 292065
This commit is contained in:
Daniel Jasper 2017-01-15 16:42:36 +00:00
parent 5f8451afad
commit 26648828e7
1 changed files with 2 additions and 0 deletions

View File

@ -211,6 +211,8 @@ public:
*Lang == dwarf::DW_LANG_C_plus_plus_11 ||
*Lang == dwarf::DW_LANG_C_plus_plus_14 ||
*Lang == dwarf::DW_LANG_ObjC_plus_plus);
else
HasODR = false;
}
DWARFUnit &getOrigUnit() const { return OrigUnit; }