[OpenMP][VE plugin] Fixing failure to build VE plugin with consolidated error handling in libomptarget

The libomptarget VE plugin [[
http://lab.llvm.org:8014/builders/clang-ve-ninja/builds/8937/steps/build-unified-tree/logs/stdio
| fails zu build ]] after ae95ceeb8f .

Differential Revision: https://reviews.llvm.org/D88476
This commit is contained in:
Manoel Roemmer 2020-09-29 16:21:09 +02:00 committed by Simon Moll
parent e456df77c2
commit c816ee13ad
1 changed files with 9 additions and 7 deletions

View File

@ -11,9 +11,6 @@
//
//===----------------------------------------------------------------------===//
#include "Debug.h"
#include "omptargetplugin.h"
#include <algorithm>
#include <cassert>
#include <cerrno>
@ -26,14 +23,19 @@
#include <vector>
#include <veosinfo/veosinfo.h>
#include "Debug.h"
#include "omptargetplugin.h"
#ifndef TARGET_NAME
#define TARGET_NAME VE
#endif
#define DEBUG_PREFIX "Target " GETNAME(TARGET_NAME) " RTL"
#ifndef TARGET_ELF_ID
#define TARGET_ELF_ID 0
#endif
#define TARGET_NAME VE
#define DEBUG_PREFIX "Target " GETNAME(TARGET_NAME) " RTL"
#include "../../common/elf_common.c"
struct DynLibTy {