forked from OSchip/llvm-project
[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:
parent
e456df77c2
commit
c816ee13ad
|
@ -11,9 +11,6 @@
|
||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
#include "Debug.h"
|
|
||||||
#include "omptargetplugin.h"
|
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
|
@ -26,14 +23,19 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <veosinfo/veosinfo.h>
|
#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
|
#ifndef TARGET_ELF_ID
|
||||||
#define TARGET_ELF_ID 0
|
#define TARGET_ELF_ID 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define TARGET_NAME VE
|
|
||||||
|
|
||||||
#define DEBUG_PREFIX "Target " GETNAME(TARGET_NAME) " RTL"
|
|
||||||
|
|
||||||
#include "../../common/elf_common.c"
|
#include "../../common/elf_common.c"
|
||||||
|
|
||||||
struct DynLibTy {
|
struct DynLibTy {
|
||||||
|
|
Loading…
Reference in New Issue