HomePhabricator

Add debug location verification for !llvm.loop attachments.

Authored by aprantl on Jun 18 2019, 12:42 PM.

Description

Add debug location verification for !llvm.loop attachments.

This patch teaches the Verifier how to detect broken !llvm.loop
attachments as discussed in https://reviews.llvm.org/D60831. This
allows LLVM to warn and strip out the broken debug info before
attempting an LTO compilation with input generated by LLVM predating
https://reviews.llvm.org/rL361149.

rdar://problem/51631158

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

llvm-svn: 363725

Details

Committed
aprantlJun 18 2019, 12:42 PM
Differential Revision
D63499: Add debug location verification for !llvm.loop attachments
Parents
rGa702f07301fe: [PDB] Ignore .debug$S subsections with high bit set
Branches
Unknown
Tags
Unknown