aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
diff options
context:
space:
mode:
authorUtkarsh Saxena <usx@google.com>2025-10-10 13:43:39 +0200
committerGitHub <noreply@github.com>2025-10-10 13:43:39 +0200
commit2eb8c47b88e83cf310b86480b5b8d0f45a1f91af (patch)
tree16371b9868f0c87f51d20eadf00a7987012414b9 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
parent1c5bba1e4716547e24d07ca830e9db64cc9221da (diff)
downloadllvm-2eb8c47b88e83cf310b86480b5b8d0f45a1f91af.zip
llvm-2eb8c47b88e83cf310b86480b5b8d0f45a1f91af.tar.gz
llvm-2eb8c47b88e83cf310b86480b5b8d0f45a1f91af.tar.bz2
[LifetimeSafety] Reorganize code into modular components (#162474)
Restructure the C++ Lifetime Safety Analysis into modular components with clear separation of concerns. This PR reorganizes the C++ Lifetime Safety Analysis code by: 1. Breaking up the monolithic `LifetimeSafety.cpp` (1500+ lines) into multiple smaller, focused files 2. Creating a dedicated `LifetimeSafety` directory with a clean component structure 3. Introducing header files for each component with proper documentation 4. Moving existing code into the appropriate component files: - `Checker.h/cpp`: Core lifetime checking logic - `Dataflow.h`: Generic dataflow analysis framework - `Facts.h`: Lifetime-relevant events and fact management - `FactsGenerator.h/cpp`: AST traversal for fact generation - `LiveOrigins.h/cpp`: Backward dataflow analysis for origin liveness - `LoanPropagation.h/cpp`: Forward dataflow analysis for loan tracking - `Loans.h`: Loan and access path definitions - `Origins.h`: Origin management - `Reporter.h`: Interface for reporting lifetime violations - `Utils.h`: Common utilities for the analysis The code functionality remains the same, but is now better organized with clearer interfaces between components.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions