Mercurial > hg > truffle
comparison src/share/vm/shark/llvmHeaders.hpp @ 2483:1fcd6e9c3965
7036220: Shark fails to find LLVM 2.9 System headers during build
Reviewed-by: gbenson, twisti
Contributed-by: Xerxes Ranby <xerxes@zafena.se>
author | twisti |
---|---|
date | Thu, 14 Apr 2011 01:53:12 -0700 |
parents | f95d63e2154a |
children | 2cd5e15048e6 |
comparison
equal
deleted
inserted
replaced
2481:3a808be061ff | 2483:1fcd6e9c3965 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright 2008, 2009, 2010 Red Hat, Inc. | 3 * Copyright 2008, 2009, 2010 Red Hat, Inc. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * | 5 * |
6 * This code is free software; you can redistribute it and/or modify it | 6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as | 7 * under the terms of the GNU General Public License version 2 only, as |
44 #include <llvm/Module.h> | 44 #include <llvm/Module.h> |
45 #if SHARK_LLVM_VERSION < 27 | 45 #if SHARK_LLVM_VERSION < 27 |
46 #include <llvm/ModuleProvider.h> | 46 #include <llvm/ModuleProvider.h> |
47 #endif | 47 #endif |
48 #include <llvm/Support/IRBuilder.h> | 48 #include <llvm/Support/IRBuilder.h> |
49 #if SHARK_LLVM_VERSION >= 29 | |
50 #include <llvm/Support/Threading.h> | |
51 #else | |
49 #include <llvm/System/Threading.h> | 52 #include <llvm/System/Threading.h> |
53 #endif | |
50 #include <llvm/Target/TargetSelect.h> | 54 #include <llvm/Target/TargetSelect.h> |
51 #include <llvm/Type.h> | 55 #include <llvm/Type.h> |
52 #include <llvm/ExecutionEngine/JITMemoryManager.h> | 56 #include <llvm/ExecutionEngine/JITMemoryManager.h> |
53 #include <llvm/Support/CommandLine.h> | 57 #include <llvm/Support/CommandLine.h> |
54 #if SHARK_LLVM_VERSION >= 27 | 58 #if SHARK_LLVM_VERSION >= 27 |
55 #include <llvm/ExecutionEngine/JIT.h> | 59 #include <llvm/ExecutionEngine/JIT.h> |
56 #include <llvm/ADT/StringMap.h> | 60 #include <llvm/ADT/StringMap.h> |
57 #include <llvm/Support/Debug.h> | 61 #include <llvm/Support/Debug.h> |
62 #if SHARK_LLVM_VERSION >= 29 | |
63 #include <llvm/Support/Host.h> | |
64 #else | |
58 #include <llvm/System/Host.h> | 65 #include <llvm/System/Host.h> |
66 #endif | |
59 #endif | 67 #endif |
60 | 68 |
61 #include <map> | 69 #include <map> |
62 | 70 |
63 #ifdef assert | 71 #ifdef assert |