aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCombiner.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2019-01-10 20:57:32 +0000
committerZachary Turner <zturner@google.com>2019-01-10 20:57:32 +0000
commit44f19514d480b9504c96018f413a7a63d72c38af (patch)
treea97dfaa4fb0fcc522a6598d643c3eec43205cceb /llvm/lib/CodeGen/MachineCombiner.cpp
parent0a8485643114f0dcb0b1cd037d18872b43464888 (diff)
downloadllvm-44f19514d480b9504c96018f413a7a63d72c38af.zip
llvm-44f19514d480b9504c96018f413a7a63d72c38af.tar.gz
llvm-44f19514d480b9504c96018f413a7a63d72c38af.tar.bz2
[NativePDB] Add support for parsing typedef records.
Typedefs are represented as S_UDT records in the globals stream. This creates a strange situation where "types" are actually represented as "symbols", so they need special handling. In order to test this, we don't just use lldb and print out some variables causing the AST to get created, because variables whose type is a typedef will have debug info referencing the original type, not the typedef. So we use lldb-test instead which will parse all debug info in the entire file. This exposed some problems with lldb-test and the native reader, mainly that certain types of obscure symbols which we can find when iterating every single record would trigger crashes. These have been fixed as well so that lldb-test can be used to test this functionality. Differential Revision: https://reviews.llvm.org/D56461 llvm-svn: 350888
Diffstat (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp')
0 files changed, 0 insertions, 0 deletions