[clang] [clang-repl] Simplify the value printing logic to enable out-of-process. (PR #107737)
Vassil Vassilev via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 23 00:47:47 PDT 2024
================
@@ -39,11 +44,13 @@ class IncrementalCUDADeviceParser : public IncrementalParser {
~IncrementalCUDADeviceParser();
protected:
- IncrementalParser &HostParser;
+ std::unique_ptr<CompilerInstance> DeviceCI;
int SMVersion;
llvm::SmallString<1024> PTXCode;
llvm::SmallVector<char, 1024> FatbinContent;
llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> VFS;
+ CodeGenOptions &CodeGenOpts; // intentionally a reference.
----------------
vgvassilev wrote:
I think that's important as we are forcibly updating codegen options for the incremental use case.
https://github.com/llvm/llvm-project/pull/107737
More information about the cfe-commits
mailing list