Fix fatal error message displaying
authorJonathan Peyton <jonathan.l.peyton@intel.com>
Wed, 25 Oct 2017 22:05:02 +0000 (22:05 +0000)
committerJonathan Peyton <jonathan.l.peyton@intel.com>
Wed, 25 Oct 2017 22:05:02 +0000 (22:05 +0000)
commit5e6cb9022c5c87f3ecf593f3210d15fd25467342
treed61a8fc120afdad83d6be770566b689fb31d517c
parent8e38ea8b9e09f826677409f7eb9feb142bce13f9
Fix fatal error message displaying

Replacing call to __kmp_msg(kmp_ms_fatal,...) with __kmp_fatal(...) caused an
issue when incomplete message is displayed in case an error message is followed
by another message (e.g. by a hint messa)ge. This is because __kmp_fatal()
passes incomplete list of arguments to __kmp_msg().

Patch by Olga Malysheva

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

llvm-svn: 316623
openmp/runtime/src/kmp_i18n.cpp