Changeset View
Changeset View
Standalone View
Standalone View
lldb/unittests/SymbolFile/DWARF/XcodeSDKModuleTests.cpp
//===-- XcodeSDKModuleTests.cpp -------------------------------------------===// | //===-- XcodeSDKModuleTests.cpp -------------------------------------------===// | ||||
// | // | ||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||||
// See https://llvm.org/LICENSE.txt for license information. | // See https://llvm.org/LICENSE.txt for license information. | ||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||||
// | // | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
#include "Plugins/Platform/MacOSX/PlatformMacOSX.h" | #include "Plugins/Platform/MacOSX/PlatformMacOSX.h" | ||||
Lint: Pre-merge checks: clang-tidy: error: 'Plugins/Platform/MacOSX/PlatformMacOSX.h' file not found [clang-diagnostic… | |||||
#include "Plugins/SymbolFile/DWARF/DWARFCompileUnit.h" | #include "Plugins/SymbolFile/DWARF/DWARFCompileUnit.h" | ||||
#include "Plugins/SymbolFile/DWARF/DWARFDIE.h" | #include "Plugins/SymbolFile/DWARF/DWARFDIE.h" | ||||
#include "Plugins/TypeSystem/Clang/TypeSystemClang.h" | #include "Plugins/TypeSystem/Clang/TypeSystemClang.h" | ||||
#include "TestingSupport/Symbol/YAMLModuleTester.h" | #include "TestingSupport/Symbol/YAMLModuleTester.h" | ||||
#include "lldb/Core/PluginManager.h" | #include "lldb/Core/PluginManager.h" | ||||
#include "gmock/gmock.h" | #include "gmock/gmock.h" | ||||
#include "gtest/gtest.h" | #include "gtest/gtest.h" | ||||
Show All 15 Lines | |||||
} // namespace | } // namespace | ||||
TEST_F(XcodeSDKModuleTests, TestModuleGetXcodeSDK) { | TEST_F(XcodeSDKModuleTests, TestModuleGetXcodeSDK) { | ||||
const char *yamldata = R"( | const char *yamldata = R"( | ||||
debug_str: | debug_str: | ||||
- MacOSX10.9.sdk | - MacOSX10.9.sdk | ||||
debug_abbrev: | debug_abbrev: | ||||
- Table: | |||||
- Code: 0x00000001 | - Code: 0x00000001 | ||||
Tag: DW_TAG_compile_unit | Tag: DW_TAG_compile_unit | ||||
Children: DW_CHILDREN_no | Children: DW_CHILDREN_no | ||||
Attributes: | Attributes: | ||||
- Attribute: DW_AT_language | - Attribute: DW_AT_language | ||||
Form: DW_FORM_data2 | Form: DW_FORM_data2 | ||||
- Attribute: DW_AT_APPLE_sdk | - Attribute: DW_AT_APPLE_sdk | ||||
Form: DW_FORM_strp | Form: DW_FORM_strp | ||||
debug_info: | debug_info: | ||||
- Length: 8 | - Length: 8 | ||||
Version: 2 | Version: 2 | ||||
AbbrOffset: 0 | AbbrOffset: 0 | ||||
AddrSize: 8 | AddrSize: 8 | ||||
Entries: | Entries: | ||||
- AbbrCode: 0x00000001 | - AbbrCode: 0x00000001 | ||||
Values: | Values: | ||||
Show All 22 Lines |
clang-tidy: error: 'Plugins/Platform/MacOSX/PlatformMacOSX.h' file not found [clang-diagnostic-error]
not useful