summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-c-test/object.c
diff options
context:
space:
mode:
authorAmaury Sechet <deadalnix@gmail.com>2016-02-04 23:26:19 +0000
committerAmaury Sechet <deadalnix@gmail.com>2016-02-04 23:26:19 +0000
commite8ea7d8b1dff7bca3812da705437aac56ef6b105 (patch)
treeff65062afb586b60d16b024d45673ba9ff0999d6 /llvm/tools/llvm-c-test/object.c
parentf9cec37880805bad4d54571f90688d1ab11688b2 (diff)
downloadbcm5719-llvm-e8ea7d8b1dff7bca3812da705437aac56ef6b105.tar.gz
bcm5719-llvm-e8ea7d8b1dff7bca3812da705437aac56ef6b105.zip
Improve testing for the C API
Summary: This basically add an echo test case in C. The support is limited right now, but full support would just be too much to review at once. The echo test case simply get a module as input and try to output the same exact module. This allow to check the both reading and writing API are working as expected. I want to improve this test over time to support more and more of the API, in order to improve coverage (coverage is quite poor right now). Test Plan: Run the test. Reviewers: chandlerc, bogner Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D10725 llvm-svn: 259844
Diffstat (limited to 'llvm/tools/llvm-c-test/object.c')
-rw-r--r--llvm/tools/llvm-c-test/object.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/tools/llvm-c-test/object.c b/llvm/tools/llvm-c-test/object.c
index 43521787b60..a5421d9066d 100644
--- a/llvm/tools/llvm-c-test/object.c
+++ b/llvm/tools/llvm-c-test/object.c
@@ -13,7 +13,6 @@
\*===----------------------------------------------------------------------===*/
#include "llvm-c-test.h"
-#include "llvm-c/Core.h"
#include "llvm-c/Object.h"
#include <stdio.h>
#include <stdlib.h>
OpenPOWER on IntegriCloud