diff options
| author | Slava Zakharin <szakharin@nvidia.com> | 2022-11-28 09:17:28 -0800 |
|---|---|---|
| committer | Slava Zakharin <szakharin@nvidia.com> | 2022-11-28 12:50:31 -0800 |
| commit | 5bd8175dd70416221c58c3c92f06886427680cb5 (patch) | |
| tree | 5d8eae699c996b43335632896acf1307f5635364 /lldb/packages/Python/lldbsuite/test/dotest.py | |
| parent | 1a5be5265cc0eeb5d4b2571e72af01754a167042 (diff) | |
| download | llvm-5bd8175dd70416221c58c3c92f06886427680cb5.zip llvm-5bd8175dd70416221c58c3c92f06886427680cb5.tar.gz llvm-5bd8175dd70416221c58c3c92f06886427680cb5.tar.bz2 | |
[AA] A global cannot escape through nocapture/nocallback call.
When an internal global is passed to a 'nocallback' call as
a 'nocapture' pointer, it cannot escape through this call and
be indirectly referenced in this module.
So it must not alias with any pointer in the module.
This may provide some remedy for Fortran module-private array descriptors
that are usually passed by address to some runtime functions
(e.g. to allocation/deallocation functions). In general, a good aliasing
information derived from Fortran language rules would solve the same issue,
but I think this change may be beneficial as-is (given that nocapture,
nocallback attributes are properly set).
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D138336
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
0 files changed, 0 insertions, 0 deletions
