aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2022-12-05 13:29:15 -0800
committerRiver Riddle <riddleriver@gmail.com>2022-12-11 22:45:34 -0800
commit18546ff8dd45a81e72c0a2ed0561b5aec8c15ca3 (patch)
tree6ce5d9ac4ceaf5ec50d0d8d0531d52bd84eb9f26 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parent9cbd2959c156f50c1e44dabcf3d7de3461c5836a (diff)
downloadllvm-18546ff8dd45a81e72c0a2ed0561b5aec8c15ca3.zip
llvm-18546ff8dd45a81e72c0a2ed0561b5aec8c15ca3.tar.gz
llvm-18546ff8dd45a81e72c0a2ed0561b5aec8c15ca3.tar.bz2
[mlir:Bytecode] Add shared_ptr<SourceMgr> overloads to allow safe mmap of data
The bytecode reader currently has no mechanism that allows for directly referencing data from the input buffer safely. This commit adds shared_ptr<SourceMgr> overloads that provide an explicit and safe way of extending the lifetime of the input. The usage of these new overloads is adopted in all of our tooling, and is implicitly used in the filename only parser methods. Differential Revision: https://reviews.llvm.org/D139366
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions