diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2018-08-13 17:26:18 +0000 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2018-08-13 17:26:18 +0000 |
commit | a3f6d4c5b8c3779c892644a048aef5bbd4f42d5a (patch) | |
tree | 7d5c1a18e728e700ce7473b1252cb34403ed30cb /llvm/tools/llvm-mca/RegisterFile.cpp | |
parent | 82edf8d3297ea234698466ed7b7febb447e74ed1 (diff) | |
download | bcm5719-llvm-a3f6d4c5b8c3779c892644a048aef5bbd4f42d5a.tar.gz bcm5719-llvm-a3f6d4c5b8c3779c892644a048aef5bbd4f42d5a.zip |
[OMPT] Make omp_control_tool() compliant when called from Fortran programs
This change fixes an incorrect behavior of the omp_control_tool function when
called from Fortran applications. A tool callback function for this event is
supposed to get NULL for the third argument according to the specification, but
the current implementation just passes a garbage value. A possible fix is to use
the OPTIONAL attribute for the third argument.
Patch by Hansang Bae
Differential Revision: https://reviews.llvm.org/D50565
llvm-svn: 339585
Diffstat (limited to 'llvm/tools/llvm-mca/RegisterFile.cpp')
0 files changed, 0 insertions, 0 deletions