HomePhabricator

Fix infinite recursion in DWO file parsing

Authored by labath on Mar 29 2016, 6:42 AM.

Description

Fix infinite recursion in DWO file parsing

Summary:
Since r264316, clang started adding DW_AT_GNU_dwo_name attribute to dwo files (previously, this
attribute was only present in main object files), breaking pretty much every dwo test. The
problem was that we were treating the presence of said attribute as a signal that we should look
for information in an external object file, and caused us to enter an infinite loop. I fix this
by making sure we do not go looking for an external dwo file if we already *are* parsing a dwo
file.

Reviewers: tberghammer, clayborg

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D18547

llvm-svn: 264729

Details

Committed
labathMar 29 2016, 6:42 AM
Differential Revision
D18547: Fix infinite recursion in DWO file parsing
Parents
rG9a3f32c00d5a: [mips] Test commit: Mark insertNoop as dead code (NFC)
Branches
Unknown
Tags
Unknown