diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2025-04-14 20:01:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-14 20:01:06 -0700 |
commit | 1cf9f764ac41fb3492e10c78640dd50e616388db (patch) | |
tree | 694da15912dbe7e44f04569e217c224023fa7b5b /llvm/tools/llvm-objdump | |
parent | 984ec70b61cb57b00e622a21b259aaf11775c5f0 (diff) | |
download | llvm-1cf9f764ac41fb3492e10c78640dd50e616388db.zip llvm-1cf9f764ac41fb3492e10c78640dd50e616388db.tar.gz llvm-1cf9f764ac41fb3492e10c78640dd50e616388db.tar.bz2 |
[clang][frontend] Make `CompilerInstance::FailedModules` thread-safe (#135473)
This PR makes some progress towards making it possible to create clones
of `CompilerInstance` that are independent of each other and can be used
in a multi-threaded setting. This PR tackles
`CompilerInstance::FailedModules`, makes it a value-type instead of a
mutable shared pointer, and adds explicit copies & moves where
appropriate.
Besides that change, this PR also turns two previously free functions
with internal linkage into member functions of `CompilerInstance`, which
makes it possible to reduce the public API of that class that relates to
`FailedModules`. This reduces some API churn that was necessary for each
new member of `CompilerInstance` that needs to be cloned.
Diffstat (limited to 'llvm/tools/llvm-objdump')
0 files changed, 0 insertions, 0 deletions