commit | e9c3056dbd0b4360a80c0e86e7e845d3eecf961b | [log] [tgz] |
---|---|---|
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | Thu Oct 04 14:57:04 2018 +0000 |
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | Thu Oct 04 14:57:04 2018 +0000 |
tree | bf0f828806934e8d15c1f80b21bd96c615b26185 | |
parent | c39393741e54801b6c1dd81d29379c0b37a24363 [diff] |
[OpenMP][OMPT] Fix unsafe initialization of ompt_data_t objects Initializing an ompt_data_t object using the pointer union member is potentially unsafe in 32-bit programs. This change fixes the issue by using the constant, ompt_data_none. Patch by Hansang Bae Differential Revision: https://reviews.llvm.org/D52046 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@343785 91177308-0d34-0410-b5e6-96231b3b80d8