prepare-builtins: Remove call to getGlobalContext()

This function has been removed from LLVM.

Patch By: Laurent Carlier

llvm-svn: 266430
This commit is contained in:
Tom Stellard 2016-04-15 14:18:58 +00:00
parent 11c7fd300e
commit 6cb18a09b1
1 changed files with 1 additions and 1 deletions

View File

@ -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");