Home
last modified time | relevance | path

Searched refs:PCM (Results 1 – 11 of 11) sorted by relevance

/llvm-project/clang/lib/Serialization/
H A DInMemoryModuleCache.cpp35 auto &PCM = PCMs[Filename]; in addBuiltPCM() local
36 assert(!PCM.IsFinal && "Trying to override finalized PCM?"); in addBuiltPCM()
37 assert(!PCM.Buffer && "Trying to override tentative PCM?"); in addBuiltPCM()
38 PCM.Buffer = std::move(Buffer); in addBuiltPCM()
39 PCM.IsFinal = true; in addBuiltPCM()
40 return *PCM.Buffer; in addBuiltPCM()
63 auto &PCM = I->second; in tryToDropPCM() local
64 assert(PCM.Buffer && "PCM to remove is scheduled to be built..."); in tryToDropPCM()
66 if (PCM.IsFinal) in tryToDropPCM()
69 PCM.Buffer.reset(); in tryToDropPCM()
[all …]
/llvm-project/clang/include/clang/Serialization/
H A DInMemoryModuleCache.h30 struct PCM { struct
38 PCM() = default; argument
39 PCM(std::unique_ptr<llvm::MemoryBuffer> Buffer) in PCM() argument
44 llvm::StringMap<PCM> PCMs;
/llvm-project/clang/test/Modules/
H A Dmodules-cache-path-canonicalization.m3 // This testcase reproduces a use-after-free after looking up a PCM in
H A Drebuild.m22 // The signature is the hash of the PCM content, we will not rebuild rebuild DependsOnModule.
H A Dprune-non-affecting-module-map-files.m2 // contents of PCM files.
/llvm-project/clang/test/Index/
H A Dindex-module.m16 // CHECK-NEXT: [importedASTFile]: [[PCM:.*[/\\]DependsOnModule\.pcm]] | loc: 2:1 | name: "DependsOn…
18 // CHECK: [importedASTFile]: [[PCM]] | loc: 3:1 | name: "DependsOnModule" | isImplicit: 0
/llvm-project/clang/tools/clang-scan-deps/
H A DOpts.td24 def eager_load_pcm : F<"eager-load-pcm", "Load PCM files eagerly (instead of lazily on import)">;
/llvm-project/clang/include/clang/Basic/
H A DDebugOptions.def16 // affect the generated PCM.
/llvm-project/clang/docs/
H A DToolchain.rst47 :doc:`precompiled module file (PCM) <Modules>`,
/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp3088 SmallString<0> PCM; in CreateTypeDefinition()
3091 PCM = getCurrentDirname(); in CreateTypeDefinition()
3093 PCM = Mod.getPath(); in CreateTypeDefinition()
3095 llvm::sys::path::append(PCM, Mod.getASTFile()); in CreateTypeDefinition()
3100 TheCU->getProducer(), false, StringRef(), 0, RemapPath(PCM), in CreateTypeDefinition()
3049 SmallString<0> PCM; getOrCreateModuleRef() local
/llvm-project/clang/include/clang/Driver/
H A DOptions.td3315 HelpText<"Validate PCM input files based on content if mtime differs">;
3405 HelpText<"Skip checks for relocated modules when loading PCM files">,
8162 HelpText<"Accept a PCM file that was created with compiler errors">,