[OMPT] Fix task-type test with GCC
authorJoachim Protze <protze@itc.rwth-aachen.de>
Thu, 1 Mar 2018 11:26:15 +0000 (11:26 +0000)
committerJoachim Protze <protze@itc.rwth-aachen.de>
Thu, 1 Mar 2018 11:26:15 +0000 (11:26 +0000)
commitf5aebc27ade6094d38d778ddf9d9c8c4c6eac6e0
tree4fe195a4ef0f8327bb2ff1141ebc4f90afdcdbfd
parentf3e93b23f74b3d1777062d37c6dfbc8cee0396e0
[OMPT] Fix task-type test with GCC

This is similar to D43882. The runtime needs to be initialized before calling print_ids(0)

http://lab.llvm.org:8011/builders/openmp-gcc-x86_64-linux-debian/builds/60

Differential Revision: https://reviews.llvm.org/D43897

llvm-svn: 326428
openmp/runtime/test/ompt/tasks/task_types.c