[verify-uselistorder] Support -force-opaque-pointers
By creating LLVMContext after parsing parameters.
This commit is contained in:
parent
89f0587154
commit
ab79ffdb74
|
@ -2,6 +2,7 @@
|
|||
; RUN: llvm-as --force-opaque-pointers < %s | llvm-dis --force-opaque-pointers | FileCheck %s
|
||||
; RUN: llvm-as < %s | llvm-dis --force-opaque-pointers | FileCheck %s
|
||||
; RUN: opt --force-opaque-pointers < %s -S | FileCheck %s
|
||||
; RUN: verify-uselistorder --force-opaque-pointers < %s
|
||||
|
||||
%ty = type i32*
|
||||
|
||||
|
|
|
@ -540,11 +540,10 @@ int main(int argc, char **argv) {
|
|||
// Enable debug stream buffering.
|
||||
EnableDebugBuffering = true;
|
||||
|
||||
LLVMContext Context;
|
||||
|
||||
cl::ParseCommandLineOptions(argc, argv,
|
||||
"llvm tool to verify use-list order\n");
|
||||
|
||||
LLVMContext Context;
|
||||
SMDiagnostic Err;
|
||||
|
||||
// Load the input module...
|
||||
|
|
Loading…
Reference in a new issue