forked from OSchip/llvm-project
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:
parent
11c7fd300e
commit
6cb18a09b1
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue