Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:43:44

0001 //===- DIASupport.h - Common header includes for DIA ------------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 // Common defines and header includes for all LLVMDebugInfoPDBDIA.  The
0009 // definitions here configure the necessary #defines and include system headers
0010 // in the proper order for using DIA.
0011 //===----------------------------------------------------------------------===//
0012 
0013 #ifndef LLVM_DEBUGINFO_PDB_DIA_DIASUPPORT_H
0014 #define LLVM_DEBUGINFO_PDB_DIA_DIASUPPORT_H
0015 
0016 // Require at least Vista
0017 #define NTDDI_VERSION NTDDI_VISTA
0018 #define _WIN32_WINNT _WIN32_WINNT_VISTA
0019 #define WINVER _WIN32_WINNT_VISTA
0020 #ifndef NOMINMAX
0021 #define NOMINMAX
0022 #endif
0023 
0024 // atlbase.h has to come before windows.h
0025 #include <atlbase.h>
0026 #include <windows.h>
0027 
0028 // DIA headers must come after windows headers.
0029 #include <cvconst.h>
0030 #ifdef __clang__
0031 #pragma clang diagnostic push
0032 #pragma clang diagnostic ignored "-Wnon-virtual-dtor"
0033 #endif
0034 #include <dia2.h>
0035 #ifdef __clang__
0036 #pragma clang diagnostic pop
0037 #endif
0038 #include <diacreate.h>
0039 
0040 #endif // LLVM_DEBUGINFO_PDB_DIA_DIASUPPORT_H