diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2022-09-06 10:22:25 -0500 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2022-09-06 12:59:00 -0500 |
commit | 58645d3252e883f2e61363552767ed1716634edf (patch) | |
tree | bc67a48cedb6482ca1ad6e2902844b37a349438a /lldb/source/Commands/CommandObjectFrame.cpp | |
parent | 20573d11b74e6535acb3229c4493b42c5d13e1dc (diff) | |
download | llvm-58645d3252e883f2e61363552767ed1716634edf.zip llvm-58645d3252e883f2e61363552767ed1716634edf.tar.gz llvm-58645d3252e883f2e61363552767ed1716634edf.tar.bz2 |
[OpenMP] Fix `omp_get_wtime` function being marked incorrectly as readonly
OpenMP has a list of of optimistic attributes that can be attached to
known runtime functions to aid some analysis. The `omp_get_wtime`
function incorrectly used the `readonly` attribute. This is not correct
at the `omp_get_wtime` function changes values depending on some
external state. This is more correctly modeled with
`inaccessiblememonly` meaning that the value does not depend on anything
within the module, but can not be removes as it depends on external
state.
Fixes #57578
Reviewed By: tianshilei1992
Differential Revision: https://reviews.llvm.org/D133360
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
0 files changed, 0 insertions, 0 deletions