aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-03-06 15:56:20 +0000
committerPavel Labath <labath@google.com>2018-03-06 15:56:20 +0000
commit96979ceecbd1f1329aa8ea8355c3025739b502aa (patch)
treee7ceca8507935fcdd7a303ccd8a46932f598c784 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parentc3e7c6d2916e8fe7ca7b32a468e67e7a9498c6b4 (diff)
downloadllvm-96979ceecbd1f1329aa8ea8355c3025739b502aa.zip
llvm-96979ceecbd1f1329aa8ea8355c3025739b502aa.tar.gz
llvm-96979ceecbd1f1329aa8ea8355c3025739b502aa.tar.bz2
Rewrite TestTargetSymbolsBuildidCase to be more focused
Summary: The test was failing in remote debugging scenario with windows as a host as cmd.exe is not able to parse the complicated shell commands in the Makefile. The test seemed like a perfect candidate for a more focused testing approach, so I have rewritten in on top of lldb-test's module-sections functionality. The slight gotcha there was that the Module::GetSectionList does not include the sections from the symbol file until someone manually calls Module::GetSymbolVendor. Normally, this is not an issue, because someone will have initialized the symbol vendor by the time anyone starts looking at the sections. However, when all one this is dump the section list, we run into this problem. I've tried making this behavior more automatic, but it turns out it's not that easy, so for now, I just manually initialize the Symbol Vendor before dumping out the sections in lldb-test. Reviewers: jankratochvil Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D42914 llvm-svn: 326805
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions