This will allow using -force-opaque-pointers in codegen tests.
// Enable debug stream buffering.
EnableDebugBuffering = true;
- LLVMContext Context;
-
// Initialize targets first, so that --version shows registered targets.
InitializeAllTargets();
InitializeAllTargetMCs();
cl::ParseCommandLineOptions(argc, argv, "llvm system compiler\n");
+ LLVMContext Context;
Context.setDiscardValueNames(DiscardValueNames);
// Set a diagnostic handler that doesn't exit on the first error