diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2016-04-15 14:18:58 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2016-04-15 14:18:58 +0000 |
commit | fea4078937afbb76ddc12b1b9dae7a7021b38db3 (patch) | |
tree | 9843563d06b19f706be3a1d025e450cb11552417 | |
parent | 20d977a3e68aa1d59d307000c53e420ad3ee6881 (diff) |
prepare-builtins: Remove call to getGlobalContext()
This function has been removed from LLVM.
Patch By: Laurent Carlier
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@266430 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | utils/prepare-builtins.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/prepare-builtins.cpp b/utils/prepare-builtins.cpp index a7b0db5..3122f48 100644 --- a/utils/prepare-builtins.cpp +++ b/utils/prepare-builtins.cpp @@ -24,7 +24,7 @@ OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename")); int main(int argc, char **argv) { - LLVMContext &Context = getGlobalContext(); + LLVMContext Context; llvm_shutdown_obj Y; // Call llvm_shutdown() on exit. cl::ParseCommandLineOptions(argc, argv, "libclc builtin preparation tool\n"); |