commit | b09c3d6587efa9f2339815785127168b84adef55 | [log] [tgz] |
---|---|---|
author | Peyton, Jonathan L <jonathan.l.peyton@intel.com> | Thu Dec 03 13:25:47 2020 -0600 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Dec 15 23:43:56 2020 -0800 |
tree | a56d361bfcbebe05019a766ae9ce0f75bdd11694 | |
parent | e21635f0ac72e5dccd6cc6518fa2bb718d2081e9 [diff] |
[OpenMP] Introduce new file wrapper class for runtime Introduce new kmp_safe_raii_file_t class with RAII semantics for file open/close. It is essentially a wrapper around the C-style FILE* object. This also unifies the way we error report if a file can't be opened. Differential Revision: https://reviews.llvm.org/D92604 GitOrigin-RevId: 5aafdd7b88f5bad06431f34103a771fe681f9213