aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-05-03 21:39:01 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-05-03 21:39:01 +0000
commit87f033885eac68fe9a6518173f42da320e40eee6 (patch)
treea4999b6a30880f27bccbd068cfcd0ec20ee2bea0 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent7fe1e995f431a7542d8c16b31767722b40b5d9df (diff)
downloadllvm-87f033885eac68fe9a6518173f42da320e40eee6.zip
llvm-87f033885eac68fe9a6518173f42da320e40eee6.tar.gz
llvm-87f033885eac68fe9a6518173f42da320e40eee6.tar.bz2
DebugInfo: elide type index entries for synthetic types
Compiler emitted synthetic types may not have an associated DIFile (translation unit). In such a case, when generating CodeView debug type information, we would attempt to compute an absolute filepath which would result in a segfault due to a NULL DIFile*. If there is no source file associated with the type, elide the type index entry for the type and record the type information. This actually results in higher fidelity debug information than clang/C2 as of this writing. Resolves PR32668! llvm-svn: 302085
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions