summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/linux/buildidcase/main.c
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 /lldb/packages/Python/lldbsuite/test/linux/buildidcase/main.c
parentc3e7c6d2916e8fe7ca7b32a468e67e7a9498c6b4 (diff)
downloadbcm5719-llvm-96979ceecbd1f1329aa8ea8355c3025739b502aa.tar.gz
bcm5719-llvm-96979ceecbd1f1329aa8ea8355c3025739b502aa.zip
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 'lldb/packages/Python/lldbsuite/test/linux/buildidcase/main.c')
-rw-r--r--lldb/packages/Python/lldbsuite/test/linux/buildidcase/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/linux/buildidcase/main.c b/lldb/packages/Python/lldbsuite/test/linux/buildidcase/main.c
deleted file mode 100644
index 4cce7f667ff..00000000000
--- a/lldb/packages/Python/lldbsuite/test/linux/buildidcase/main.c
+++ /dev/null
@@ -1,3 +0,0 @@
-int main() {
- return 0;
-}
OpenPOWER on IntegriCloud