/*===-- debuginfo.c - tool for testing libLLVM and llvm-c API -------------===*\ |* *| |* Part of the LLVM Project, under the Apache License v2.0 with LLVM *| |* Exceptions. *| |* See https://llvm.org/LICENSE.txt for license information. *| |* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *| |* *| |*===----------------------------------------------------------------------===*| |* *| |* Tests for the LLVM C DebugInfo API *| |* *| \*===----------------------------------------------------------------------===*/ #include "llvm-c-test.h" #include "llvm-c/DebugInfo.h" #include <assert.h> #include <stdio.h> #include <string.h> static LLVMMetadataRef declare_objc_class(LLVMDIBuilderRef DIB, LLVMMetadataRef File) { … } int llvm_test_dibuilder(void) { … } int llvm_get_di_tag(void) { … } int llvm_di_type_get_name(void) { … }