| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | framework-public-includes-private.m | 4 // RUN: %hmaptool write %S/Inputs/framework-public-includes-private/a.hmap.json %t/a.hmap 5 // RUN: %hmaptool write %S/Inputs/framework-public-includes-private/z.hmap.json %t/z.hmap 8 // RUN: %S/Inputs/framework-public-includes-private/z.yaml > %t/z.yaml 13 // RUN: -F%S/Inputs/framework-public-includes-private \ 18 // RUN: -F%S/Inputs/framework-public-includes-private \ 25 // CHECK: public framework header includes private framework header 'A/APriv.h' 26 // CHECK: public framework header includes private framework header 'A/APriv2.h' 27 // CHECK: public framework header includes private framework header 'Z/ZPriv.h' 33 …ected-warning@Inputs/framework-public-includes-private/A.framework/Headers/A.h:1{{public framework… 34 …ected-warning@Inputs/framework-public-includes-private/A.framework/Headers/A.h:2{{public framework… [all …]
|
| H A D | incomplete-framework-module.m | 3 // RUN: -F%S/Inputs/incomplete-framework-module \ 8 // expected-warning@Inputs/incomplete-framework-module/Foo.framework/Modules/module.modulemap:2{{sk… 9 // expected-warning@Inputs/incomplete-framework-module/Foo.framework/Modules/module.modulemap:3{{sk… 10 // expected-note@Inputs/incomplete-framework-module/Foo.framework/Modules/module.modulemap:1{{use '… 11 // expected-note@Inputs/incomplete-framework-module/Foo.framework/Modules/module.modulemap:1{{use '…
|
| H A D | merge-objc-protocol-visibility.m | 11 //--- Frameworks/Foundation.framework/Headers/Foundation.h 16 framework module Foundation { 21 //--- Frameworks/Common.framework/Headers/Common.h 28 //--- Frameworks/Common.framework/Modules/module.modulemap 29 framework module Common { 34 //--- Frameworks/Regular.framework/Headers/Regular.h 39 //--- Frameworks/Regular.framework/Modules/module.modulemap 40 framework module Regular { 45 //--- Frameworks/RegularHider.framework/Headers/Visible.h 48 //--- Frameworks/RegularHider.framework/Headers/Hidden.h [all …]
|
| H A D | merge-objc-interface-visibility.m | 11 //--- Frameworks/Foundation.framework/Headers/Foundation.h 15 //--- Frameworks/Foundation.framework/Modules/module.modulemap 16 framework module Foundation { 21 //--- Frameworks/Regular.framework/Headers/Regular.h 26 //--- Frameworks/Regular.framework/Modules/module.modulemap 27 framework module Regular { 32 //--- Frameworks/RegularHider.framework/Headers/Visible.h 35 //--- Frameworks/RegularHider.framework/Headers/Hidden.h 40 //--- Frameworks/RegularHider.framework/Modules/module.modulemap 41 framework module RegularHider {
|
| H A D | method_pool_transitive.m | 7 //--- Frameworks/Indirect.framework/Headers/Indirect.h 15 //--- Frameworks/Indirect.framework/Modules/module.modulemap 16 framework module Indirect { 21 //--- Frameworks/Immediate.framework/Headers/Immediate.h 27 //--- Frameworks/Immediate.framework/Modules/module.modulemap 28 framework module Immediate { 38 // expected-note@Frameworks/Indirect.framework/Headers/Indirect.h:5{{using}} 39 // expected-note@Frameworks/Immediate.framework/Headers/Immediate.h:3{{also found}}
|
| H A D | merge-extension-ivars.m | 26 //--- Frameworks/InterfaceAndExtension.framework/Headers/Interface.h 44 framework module InterfaceAndExtension { 50 //--- Frameworks/Redirecting.framework/Headers/Redirecting.h 53 //--- Frameworks/Redirecting.framework/Modules/module.modulemap 54 framework module Redirecting { 74 //--- Frameworks/WithInlineIvar.framework/Headers/WithInlineIvar.h 86 framework module WithInlineIvar { 110 //--- Frameworks/WithProperty.framework/Headers/WithProperty.h 116 //--- Frameworks/WithProperty.framework/Modules/module.modulemap 117 framework module WithProperty { [all …]
|
| H A D | merge-anon-record-definition-in-objc.m | 12 //--- Frameworks/Foundation.framework/Headers/Foundation.h 16 //--- Frameworks/Foundation.framework/Modules/module.modulemap 17 framework module Foundation { 22 //--- Frameworks/Target.framework/Headers/Target.h 51 //--- Frameworks/Target.framework/Modules/module.modulemap 52 framework module Target { 57 //--- Frameworks/Redirect.framework/Headers/Redirect.h 60 //--- Frameworks/Redirect.framework/Modules/module.modulemap 61 framework module Redirect { 71 …ar import is achieved through using the same name (-fmodule-name) as the imported framework module.
|
| H A D | merge-objc-interface.m | 11 //--- Frameworks/Foundation.framework/Headers/Foundation.h 15 //--- Frameworks/Foundation.framework/Modules/module.modulemap 16 framework module Foundation { 21 //--- Frameworks/ObjCInterface.framework/Headers/ObjCInterface.h 36 //--- Frameworks/ObjCInterface.framework/Modules/module.modulemap 37 framework module ObjCInterface { 42 //--- Frameworks/ObjCInterfaceCopy.framework/Headers/ObjCInterfaceCopy.h 57 // Inlined function present only in Copy.framework to make sure it uses decls from Copy module. 63 //--- Frameworks/ObjCInterfaceCopy.framework/Modules/module.modulemap 64 framework module ObjCInterfaceCopy {
|
| H A D | crash-vfs-umbrella-frameworks.m | 9 // RUN: mkdir -p %t/i/Frameworks/A.framework/Frameworks 10 // RUN: ln -s ../../B.framework %t/i/Frameworks/A.framework/Frameworks/B.framework 20 // RUN: grep "B.framework/Headers/B.h" | count 1 27 // CHECKYAML: 'name': "/[[PATH:.*]]/i/Frameworks/A.framework/Frameworks/B.framework/Headers", 32 // CHECKYAML-NEXT: 'external-contents': "/[[PATH]]/i/Frameworks/B.framework/Headers/B.h" 35 // CHECKYAML: 'name': "/[[PATH]]/i/Frameworks/B.framework/Headers", 40 // CHECKYAML-NEXT: 'external-contents': "/[[PATH]]/i/Frameworks/B.framework/Headers/B.h"
|
| H A D | requires.m | 5 // expected-error@DependsOnModule.framework/module.map:7 {{module 'DependsOnModule.CXX' requires fe… 8 // expected-error@DependsOnModule.framework/module.map:15 {{module 'DependsOnModule.NotObjC' is inc… 11 // expected-error@DependsOnModule.framework/module.map:22 {{module 'DependsOnModule.CustomReq2' req… 19 // expected-error@DependsOnModule.framework/module.map:40 {{module 'DependsOnModule.CXX11' requires… 21 // expected-error@DependsOnModule.framework/module.map:43 {{module 'DependsOnModule.CXX14' requires… 23 // expected-error@DependsOnModule.framework/module.map:46 {{module 'DependsOnModule.CXX17' requires… 26 // expected-error@DependsOnModule.framework/module.map:49 {{module 'DependsOnModule.C99' requires f… 28 // expected-error@DependsOnModule.framework/module.map:52 {{module 'DependsOnModule.C11' requires f… 30 // expected-error@DependsOnModule.framework/module.map:55 {{module 'DependsOnModule.C17' requires f…
|
| H A D | double-quotes.m | 15 // RUN: -Wquoted-include-in-framework-header -fsyntax-only %s -verify 20 // RUN: -Wquoted-include-in-framework-header -fsyntax-only %s \ 26 // CHECK: double-quoted include "A0.h" in framework header, expected angle-bracketed instead 30 // CHECK: double-quoted include "B.h" in framework header, expected angle-bracketed instead 34 // CHECK: double-quoted include "B.h" in framework header, expected angle-bracketed instead 47 // expected-warning@Inputs/double-quotes/A.framework/Headers/A.h:1{{double-quoted include "A0.h" in… 48 // expected-warning@Inputs/double-quotes/A.framework/Headers/A.h:2{{double-quoted include "B.h" in … 49 …ts/double-quotes/flat-header-path/Z.h:1{{double-quoted include "B.h" in framework header, expected…
|
| H A D | require-modular-includes.m | 5 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \ 11 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \ 18 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \ 24 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \ 31 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \ 38 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \ 44 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \ 50 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \ 57 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \ 64 // RUN: %clang_cc1 -Wnon-modular-include-in-framework-module -fmodules -fimplicit-module-maps \ [all …]
|
| /llvm-project-15.0.7/lldb/test/API/macosx/find-dsym/deep-bundle/ |
| H A D | Makefile | 8 mkdir -p MyFramework.framework/Versions/A/Headers 9 mkdir -p MyFramework.framework/Versions/A/Resources 10 cp MyFramework MyFramework.framework/Versions/A 11 cp $(SRCDIR)/MyFramework.h MyFramework.framework/Versions/A/Headers 12 cp $(SRCDIR)/Info.plist MyFramework.framework/Versions/A/Resources 13 ( cd MyFramework.framework/Versions ; ln -s A Current ) 14 ( cd MyFramework.framework/ ; ln -s Versions/Current/Headers . ) 16 ( cd MyFramework.framework/ ; ln -s Versions/Current/Resources . ) 17 mv MyFramework.dSYM MyFramework.framework.dSYM 20 tar cf - MyFramework.framework MyFramework.framework.dSYM | ( cd hide.app;tar xBpf -) [all …]
|
| /llvm-project-15.0.7/lldb/cmake/modules/ |
| H A D | LLDBFramework.cmake | 1 message(STATUS "LLDB.framework: build path is '${LLDB_FRAMEWORK_ABSOLUTE_BUILD_DIR}'") 2 message(STATUS "LLDB.framework: install path is '${LLDB_FRAMEWORK_INSTALL_DIR}'") 5 # Configure liblldb as a framework bundle 18 MACOSX_FRAMEWORK_IDENTIFIER com.apple.LLDB.framework 32 MACOSX_FRAMEWORK_IDENTIFIER com.apple.LLDB.framework 48 # Affects the layout of the framework bundle (default is macOS layout). 67 COMMENT "LLDB.framework: create Headers symlink" 89 COMMENT "LLDB.framework: collect framework header") 94 # Wrap output in a target, so lldb-framework can depend on it. 104 COMMENT "LLDB.framework: copy framework headers" [all …]
|
| H A D | FindPythonAndSwig.cmake | 13 # The install name for the Python 3 framework in Xcode is relative to 14 # the framework's location and not the dylib itself. 16 # @rpath/Python3.framework/Versions/3.x/Python3 18 # This means that we need to compute the path to the Python3.framework 21 # The check below shouldn't match Homebrew's Python framework as it is 22 # called Python.framework instead of Python3.framework. 23 if (APPLE AND Python3_LIBRARIES MATCHES "Python3.framework") 24 string(FIND "${Python3_LIBRARIES}" "Python3.framework" python_framework_pos)
|
| /llvm-project-15.0.7/lld/test/MachO/ |
| H A D | lc-linker-option.ll | 4 ; RUN: llvm-as %t/framework.ll -o %t/framework.o 61 ; RUN: llc %t/load-framework-foo.ll -o %t/load-framework-foo.o -filetype=obj 119 ; RUN: %lld %t/main -F %t -framework Foo -framework Foo -o /dev/null 120 ; RUN: %lld -F %t -framework Foo -framework Foo %t/main -o /dev/null 125 ; RUN: %lld %t/main -F %t -framework Foo -framework Foo -o /dev/null 126 ; RUN: %lld -F %t -framework Foo -framework Foo %t/main -o /dev/null 128 ;--- framework.ll 171 ;--- load-framework-foo.ll 175 !0 = !{!"-framework", !"Foo"} 178 ;--- load-framework-twice.ll [all …]
|
| H A D | link-search-at-loader-path-symlink.s | 12 # RUN: mkdir -p %t/Foo1.framework/Versions/A 16 # RUN: -reexport_library %t/Foo1.framework/Versions/A/libbar1.dylib \ 18 # RUN: -o %t/Foo1.framework/Versions/A/Foo1 19 # RUN: ln -sf A %t/Foo1.framework/Versions/Current 20 # RUN: ln -sf Versions/Current/Foo1 %t/Foo1.framework/Foo1 22 # RUN: %lld -lSystem -F%t -framework Foo1 %t/test.o -o %t/test1 29 # RUN: mkdir -p %t/Foo2.framework/Versions/A 34 # RUN: -o %t/Foo2.framework/Versions/A/Foo2 35 # RUN: ln -sf A %t/Foo2.framework/Versions/Current 36 # RUN: ln -sf Versions/Current/Foo2 %t/Foo2.framework/Foo2 [all …]
|
| H A D | framework.s | 4 # RUN: mkdir -p %t/Foo.framework/Versions/A 5 # RUN: %lld -dylib -install_name %t/Foo.framework/Versions/A/Foo %t/foo.o -o %t/Foo.framework/Versi… 6 # RUN: %lld -dylib -install_name %t/Foo.framework/Versions/A/Foobar %t/foo.o -o %t/Foo.framework/Ve… 7 # RUN: ln -sf A %t/Foo.framework/Versions/Current 8 # RUN: ln -sf Versions/Current/Foo %t/Foo.framework/Foo 11 # RUN: %lld -lSystem -F%t -framework Foo %t/test.o -o %t/test 15 # RUN: %lld -lSystem -F%t -framework Foo,baz %t/test.o -o %t/test-wrong-suffix 18 # RUN: %lld -lSystem -F%t -framework Foo,bar %t/test.o -o %t/test-suffix
|
| H A D | implicit-dylibs.s | 6 # RUN: mkdir -p %t/System/Library/Frameworks/Foo.framework/Versions/A 7 # RUN: mkdir -p %t/System/Library/Frameworks/Foo.framework/Frameworks/Bar.framework/Versions/A 8 # RUN: mkdir -p %t/Baz.framework/Versions/A 13 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/framework-foo.s -o %t/framework-foo.o 14 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/framework-bar.s -o %t/framework-bar.o 15 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %t/framework-baz.s -o %t/framework-baz.o 76 # LOAD-NEXT: name /System/Library/Frameworks/Foo.framework/Versions/A/Foo 110 #--- framework-foo.s 115 #--- framework-bar.s 120 #--- framework-baz.s
|
| /llvm-project-15.0.7/clang/test/VFS/ |
| H A D | subframework-symlink.m | 4 // Test that when a subframework is a symlink to another framework, we don't 5 // add it as a submodule to the enclosing framework. We also need to make clang 6 // to infer module for the enclosing framework. For this we don't have 7 // a module map for the framework itself but have it in a parent directory. 11 // RUN: echo 'framework module * {}' > %t/module.modulemap 12 // RUN: mkdir -p %t/WithSubframework.framework/Headers 13 // RUN: echo '#include <Foo/Foo.h>' > %t/WithSubframework.framework/Headers/WithSubframework.h 14 // RUN: cp -R %S/Inputs/Foo.framework %t 15 // RUN: mkdir -p %t/WithSubframework.framework/Frameworks 16 // RUN: ln -s %t/Foo.framework %t/WithSubframework.framework/Frameworks
|
| H A D | real-path-found-first.m | 8 // RUN: mkdir -p %t/SomeFramework.framework/Modules 15 // RUN: -Werror=non-modular-include-in-framework-module 18 // RUN: echo ' ' >> %t/SomeFramework.framework/Modules/module.modulemap 21 // RUN: -Werror=non-modular-include-in-framework-module 26 // RUN: -Werror=non-modular-include-in-framework-module \ 30 // RUN: -Werror=non-modular-include-in-framework-module -DWITH_PREFIX \ 36 // RUN: -Werror=non-modular-include-in-framework-module | FileCheck %s 37 // RUN: echo ' ' >> %t/SomeFramework.framework/Modules/module.modulemap 40 // RUN: -Werror=non-modular-include-in-framework-module | FileCheck %s 45 // RUN: mv %t/SomeFramework.framework/Modules/module.modulemap %t/hide_module.map [all …]
|
| H A D | module-header-mismatches.m | 34 //--- header-frameworks/Mismatch.framework/Modules/module.modulemap 35 framework module Mismatch { 38 //--- header-frameworks/Mismatch.framework/Headers/Mismatch.h 40 //--- dir-frameworks/Mismatch.framework/Modules/module.modulemap 41 framework module Mismatch { 44 //--- dir-frameworks/Mismatch.framework/someheaders/Mismatch.h 46 //--- norm-frameworks/Mismatch.framework/Modules/module.modulemap 47 framework module Mismatch { 50 //--- norm-frameworks/Mismatch.framework/Headers/Mismatch.h 70 { 'name': 'dir-frameworks/Mismatch.framework/someheaders', [all …]
|
| /llvm-project-15.0.7/clang/test/VFS/Inputs/ |
| H A D | bar-headers.yaml | 7 'name': "VDIR/Bar.framework/Headers", 12 'external-contents': "OUT_DIR/Bar.framework/Headers/A.h" 17 'external-contents': "OUT_DIR/Bar.framework/Headers/B.h" 22 'external-contents': "OUT_DIR/Bar.framework/Headers/C.h" 28 'name': "VDIR/Bar.framework/Modules", 33 'external-contents': "OUT_DIR/Bar.framework/Modules/module.modulemap"
|
| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | index-module.m | 15 // CHECK: [ppIncludedFile]: {{.*}}/Modules/Inputs/DependsOnModule.framework{{[/\\]}}Headers{{[/\\]}… 26 // CHECK-DMOD-NEXT: [ppIncludedFile]: [[DMOD_MODULE_H:.*/Modules/Inputs/DependsOnModule\.framework[… 27 …puts/Module.framework{{[/\\]}}Headers{{[/\\]}}Module.h | name: "Module/Module.h" | hash loc: {{.*}… 28 // CHECK-DMOD-NEXT: [ppIncludedFile]: [[DMOD_OTHER_H:.*/Modules/Inputs/DependsOnModule\.framework[/… 29 // CHECK-DMOD-NEXT: [ppIncludedFile]: [[DMOD_NOT_CXX_H:.*/Modules/Inputs/DependsOnModule\.framework… 30 … [ppIncludedFile]: [[DMOD_NOT_CORO_H:.*/Modules/Inputs/DependsOnModule\.framework[/\\]Headers[/\\]… 31 …: [[DMOD_SUB_H:.*/Modules/Inputs/DependsOnModule\.framework[/\\]Frameworks[/\\]SubFramework\.frame… 32 …MOD_SUB_OTHER_H:.*/Modules/Inputs/DependsOnModule.framework[/\\]Frameworks[/\\]SubFramework\.frame… 47 // CHECK-TMOD-NEXT: [ppIncludedFile]: [[TMOD_MODULE_H:.*/Modules/Inputs/Module\.framework[/\\]Heade… 48 // CHECK-TMOD-NEXT: [ppIncludedFile]: [[TMODHDR:.*/Modules/Inputs/Module.framework[/\\]Headers.]]Su… [all …]
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/clang-tools-extra/clangd/xpc/framework/ |
| H A D | BUILD.gn | 4 # create_clangd_xpc_framework() in cmake creates both the ClangdXPC.framework 7 # to have one create_bundle() each for both ClangdXPC.framework and clangd.xpc. 37 # Since this target only exists to be copied into ClangdXPC.framework, 50 # ClangdXPC.framework 81 # .framework bundle symlinks: 96 output = "$root_out_dir/lib/ClangdXPC.framework/$target" 101 output = "$root_out_dir/lib/ClangdXPC.framework/Versions/Current" 104 create_bundle("ClangdXPC.framework") { 105 # .framework directory structure.
|