Skip to content
Commit 48fbeb1a authored by Maksim Panchenko's avatar Maksim Panchenko
Browse files

[BOLT] Fix warnings from LLVM DWARF reading library

Summary:
LLVM started printing warnings when DWARFDebugInfoEntry::extractFast()
is invoked trying to read a DIE past the current unit limits. This
results in verbose warnings from BOLT which are harmless but confusing
to the user. Check the boundaries before calling the API above.

(cherry picked from FBD31097271)
parent 1ca3a8b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment