提交 7f8eb1d8 编写于 作者: T twisti

7036220: Shark fails to find LLVM 2.9 System headers during build

Reviewed-by: gbenson, twisti
Contributed-by: NXerxes Ranby <xerxes@zafena.se>
上级 d4e8a041
/* /*
* Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
* Copyright 2008, 2009, 2010 Red Hat, Inc. * Copyright 2008, 2009, 2010 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
...@@ -46,7 +46,11 @@ ...@@ -46,7 +46,11 @@
#include <llvm/ModuleProvider.h> #include <llvm/ModuleProvider.h>
#endif #endif
#include <llvm/Support/IRBuilder.h> #include <llvm/Support/IRBuilder.h>
#if SHARK_LLVM_VERSION >= 29
#include <llvm/Support/Threading.h>
#else
#include <llvm/System/Threading.h> #include <llvm/System/Threading.h>
#endif
#include <llvm/Target/TargetSelect.h> #include <llvm/Target/TargetSelect.h>
#include <llvm/Type.h> #include <llvm/Type.h>
#include <llvm/ExecutionEngine/JITMemoryManager.h> #include <llvm/ExecutionEngine/JITMemoryManager.h>
...@@ -55,8 +59,12 @@ ...@@ -55,8 +59,12 @@
#include <llvm/ExecutionEngine/JIT.h> #include <llvm/ExecutionEngine/JIT.h>
#include <llvm/ADT/StringMap.h> #include <llvm/ADT/StringMap.h>
#include <llvm/Support/Debug.h> #include <llvm/Support/Debug.h>
#if SHARK_LLVM_VERSION >= 29
#include <llvm/Support/Host.h>
#else
#include <llvm/System/Host.h> #include <llvm/System/Host.h>
#endif #endif
#endif
#include <map> #include <map>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册