HomePhabricator

[DebugInfo][test] Adjust line table unit length to account for contents

Authored by jhenderson on Jan 31 2020, 2:51 AM.

Description

[DebugInfo][test] Adjust line table unit length to account for contents

Previously, if a debug line Prologue was created via
createBasicPrologue, its TotalLength field did not account for any
contents in the table itself. This change fixes this issue.

Reviewed by: probinson

Differential Revision: https://reviews.llvm.org/D73772

Details