Home
last modified time | relevance | path

Searched refs:ModuleCache (Results 1 – 25 of 33) sorted by relevance

12

/external/llvm-project/clang/test/Modules/
Dvalidate-system-headers.m1 // RUN: rm -rf %t/ModuleCache
8 …s/usr/include -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/ModuleCache -fdisable-modul…
9 // RUN: cp %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
15 …s/usr/include -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/ModuleCache -fdisable-modul…
16 // RUN: diff %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
20 …-module-maps -fmodules-validate-system-headers -fmodules-cache-path=%t/ModuleCache -fdisable-modul…
21 // RUN: not diff %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
26 // RUN: cp %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
27 …s/usr/include -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/ModuleCache -fdisable-modul…
28 // RUN: diff %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
[all …]
Dserialized-diags.m11 // RUN: %clang -fmodules -fmodules-cache-path=%t/ModuleCache -I %S/Inputs/ModuleDiags -fsyntax-only…
21 // RUN: not %clang -fmodules -fmodules-cache-path=%t/ModuleCache -I %S/Inputs/ModuleDiags -fsyntax-…
Doutofdate-rebuild.m14 // entry from the ModuleCache without notifying its parent ASTReader.
/external/clang/test/Modules/
Dvalidate-system-headers.m1 // RUN: rm -rf %t/ModuleCache
8 …s/usr/include -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/ModuleCache -fdisable-modul…
9 // RUN: cp %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
15 …s/usr/include -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/ModuleCache -fdisable-modul…
16 // RUN: diff %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
20 …-module-maps -fmodules-validate-system-headers -fmodules-cache-path=%t/ModuleCache -fdisable-modul…
21 // RUN: not diff %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
26 // RUN: cp %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
27 …s/usr/include -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/ModuleCache -fdisable-modul…
28 // RUN: diff %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
[all …]
Dserialized-diags.m11 // RUN: %clang -fmodules -fmodules-cache-path=%t/ModuleCache -I %S/Inputs/ModuleDiags -fsyntax-only…
21 // RUN: not %clang -fmodules -fmodules-cache-path=%t/ModuleCache -I %S/Inputs/ModuleDiags -fsyntax-…
/external/llvm/test/tools/dsymutil/X86/
Dmodule-warnings.test17 # -fmodules-cache-path=ModuleCache \
22 # RUN: rm -rf %t.dir && mkdir %t.dir && mkdir %t.dir/ModuleCache
24 # RUN: cp %p/../Inputs/module-warnings/Foo.pcm %t.dir/ModuleCache
39 # RUN: rm -rf %t.dir/ModuleCache
/external/llvm-project/llvm/test/tools/dsymutil/X86/
Dmodule-warnings.test17 # -fmodules-cache-path=ModuleCache \
22 # RUN: rm -rf %t.dir && mkdir %t.dir && mkdir %t.dir/ModuleCache
24 # RUN: cp %p/../Inputs/module-warnings/Foo.pcm %t.dir/ModuleCache
39 # RUN: rm -rf %t.dir/ModuleCache
Dobject-prefix-path.test7 RUN: -object-prefix-map=/ModuleCache=/ModuleCacheRenamed \
/external/clang/test/Driver/
Dmodules-cache-path.m2 // CHECK-SET: -fmodules-cache-path={{.*}}org.llvm.clang.asdf{{[/\\]+}}ModuleCache
5 // CHECK-DEFAULT: -fmodules-cache-path={{.*}}org.llvm.clang.{{[A-Za-z0-9_]*[/\\]+}}ModuleCache
/external/llvm-project/clang/lib/Serialization/
DGeneratePCH.cpp24 const Preprocessor &PP, InMemoryModuleCache &ModuleCache, in PCHGenerator() argument
31 Writer(Stream, this->Buffer->Data, ModuleCache, Extensions, in PCHGenerator()
DModuleManager.cpp189 NewModule->Buffer = &ModuleCache->addBuiltPCM(FileName, std::move(Buffer)); in addModule()
349 InMemoryModuleCache &ModuleCache, in ModuleManager() argument
352 : FileMgr(FileMgr), ModuleCache(&ModuleCache), in ModuleManager()
/external/llvm-project/clang/include/clang/Serialization/
DModuleManager.h70 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable
142 explicit ModuleManager(FileManager &FileMgr, InMemoryModuleCache &ModuleCache,
316 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } in getModuleCache()
DASTWriter.h128 InMemoryModuleCache &ModuleCache; variable
553 InMemoryModuleCache &ModuleCache,
774 PCHGenerator(const Preprocessor &PP, InMemoryModuleCache &ModuleCache,
/external/llvm-project/clang/test/Driver/
Dmodules-cache-path.m2 // CHECK-DEFAULT: -fmodules-cache-path={{.*}}clang{{[/\\]+}}ModuleCache
/external/llvm-project/lldb/source/Target/
DModuleCache.cpp190 Status ModuleCache::Put(const FileSpec &root_dir_spec, const char *hostname, in Put()
214 Status ModuleCache::Get(const FileSpec &root_dir_spec, const char *hostname, in Get()
268 Status ModuleCache::GetAndPut(const FileSpec &root_dir_spec, in GetAndPut()
DCMakeLists.txt22 ModuleCache.cpp
/external/llvm-project/lldb/include/lldb/Target/
DModuleCache.h47 class ModuleCache {
DPlatform.h39 class ModuleCache; variable
907 const std::unique_ptr<ModuleCache> m_module_cache;
/external/llvm-project/clang/include/clang/Frontend/
DCompilerInstance.h92 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable
673 InMemoryModuleCache &ModuleCache, ASTContext &Context,
828 InMemoryModuleCache &getModuleCache() const { return *ModuleCache; } in getModuleCache()
DASTUnit.h113 IntrusiveRefCntPtr<InMemoryModuleCache> ModuleCache; variable
/external/llvm-project/lldb/unittests/Target/
DModuleCacheTest.cpp86 ModuleCache mc; in TryGetAndPut()
/external/llvm-project/clang/lib/Frontend/
DASTUnit.cpp223 ASTWriterData(InMemoryModuleCache &ModuleCache) in ASTWriterData()
224 : Stream(Buffer), Writer(Stream, Buffer, ModuleCache, {}) {} in ASTWriterData()
786 AST->ModuleCache = new InMemoryModuleCache; in LoadFromASTFile()
820 PP, *AST->ModuleCache, AST->Ctx.get(), PCHContainerRdr, {}, in LoadFromASTFile()
1508 AST->ModuleCache = new InMemoryModuleCache; in create()
1791 AST->ModuleCache = new InMemoryModuleCache; in LoadFromCommandLine()
1802 AST->WriterData.reset(new ASTWriterData(*AST->ModuleCache)); in LoadFromCommandLine()
2349 InMemoryModuleCache ModuleCache; in serialize() local
2350 ASTWriter Writer(Stream, Buffer, ModuleCache, {}); in serialize()
DPrecompiledPreamble.cpp233 InMemoryModuleCache &ModuleCache, in PrecompilePreambleConsumer() argument
236 : PCHGenerator(PP, ModuleCache, "", isysroot, in PrecompilePreambleConsumer()
DCompilerInstance.cpp63 ModuleCache(SharedModuleCache ? SharedModuleCache in CompilerInstance()
146 assert(ModuleCache.get() == &Reader->getModuleManager().getModuleCache() && in setASTReader()
521 InMemoryModuleCache &ModuleCache, ASTContext &Context, in createPCHExternalASTSource() argument
530 PP, ModuleCache, &Context, PCHContainerRdr, Extensions, in createPCHExternalASTSource()
/external/clang/lib/CodeGen/
DCGDebugInfo.h94 llvm::DenseMap<const Module *, llvm::TrackingMDRef> ModuleCache; variable

12