diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2011-06-06 15:22:13 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-06-06 21:24:03 +0200 |
| commit | 4bd5f834b0a259a3ca39c881f81f01f16c65e066 (patch) | |
| tree | 820710dae88ce16af703d1d80dfe0a2fdc8c7f73 /src/rustllvm/RustWrapper.cpp | |
| parent | 2b334f061a7e7e7ff766f934081bc40ebfdaa698 (diff) | |
| download | rust-4bd5f834b0a259a3ca39c881f81f01f16c65e066.tar.gz rust-4bd5f834b0a259a3ca39c881f81f01f16c65e066.zip | |
First take on an alias-safety checker
The alias checker works by ensuring that any value to which an alias is created is rooted in some way that ensures it outlives the alias. It is now disallowed to create an alias to the content of a mutable box, or to a box hanging off a mutable field. There is also machinery in place to prevent assignment to local variables whenever they are the root of a live alias.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
