diff options
author | Vedant Kumar <vsk@apple.com> | 2018-02-13 18:15:27 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2018-02-13 18:15:27 +0000 |
commit | 1627632c488e1e7ffb62c6d29e1b78285f7e0bac (patch) | |
tree | 218fab7aa9397cc6b028b564c8609f71e7e6770b /llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp | |
parent | 35fc103e1e8d1f069d7a5ada7131466c3402c265 (diff) | |
download | bcm5719-llvm-1627632c488e1e7ffb62c6d29e1b78285f7e0bac.tar.gz bcm5719-llvm-1627632c488e1e7ffb62c6d29e1b78285f7e0bac.zip |
[Debugify] Avoid verifier failure on non-definition subprograms
If a function doesn't have an exact definition, don't apply debugify
metadata as it triggers a DIVerifier failure.
The issue is that it's invalid to have DILocations inside a DISubprogram
which isn't a definition ("scope points into the type hierarchy!").
llvm-svn: 325036
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp')
0 files changed, 0 insertions, 0 deletions