aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ObjectFile.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2020-04-30 13:22:22 -0700
committerVedant Kumar <vsk@apple.com>2020-05-01 11:36:05 -0700
commit9350792c6284560de5c7dff249601486bcbabe48 (patch)
tree78188622c142a4f84bb2c2c4694de644914f5d63 /llvm/lib/Object/ObjectFile.cpp
parentcd05707d08b192b579692e66071c883a535fa7c5 (diff)
downloadllvm-9350792c6284560de5c7dff249601486bcbabe48.zip
llvm-9350792c6284560de5c7dff249601486bcbabe48.tar.gz
llvm-9350792c6284560de5c7dff249601486bcbabe48.tar.bz2
[DebugInfo] Update loop metadata in stripNonLineTableDebugInfo
Summary: Have stripNonLineTableDebugInfo() attach updated !llvm.loop metadata to an instruction (instead of updating and then discarding the metadata). This fixes "!dbg attachment points at wrong subprogram for function" errors seen while archiving an iOS app. It would be nice -- as a follow-up -- to catch this issue earlier, perhaps by modifying the verifier to constrain where DILocations are allowed. Any alternative suggestions appreciated. rdar://61982466 Reviewers: aprantl, dsanders Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D79200
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions