commit | 2d606eb9519a7f0c58446e51a7f57e412f76aac7 | [log] [tgz] |
---|---|---|
author | alan-baker <33432579+alan-baker@users.noreply.github.com> | Thu Mar 14 13:16:09 2019 -0400 |
committer | GitHub <noreply@github.com> | Thu Mar 14 13:16:09 2019 -0400 |
tree | 6a07bc0e3a42d39d78e07241acc1232f3b574bf6 | |
parent | 98d9c33a7ecd6a6fbe7e450089dcf64e0b9f597d [diff] [blame] |
Fix option parsing for repeated compiles online (#290)
diff --git a/lib/Compiler.cpp b/lib/Compiler.cpp index 4587ea9..cb45de4 100644 --- a/lib/Compiler.cpp +++ b/lib/Compiler.cpp
@@ -815,6 +815,7 @@ "-simplifycfg-sink-common=false", }; + llvm::cl::ResetAllOptionOccurrences(); llvm::cl::ParseCommandLineOptions(llvmArgc, llvmArgv); llvm::SmallVector<const char *, 20> argv;