]> granicus.if.org Git - llvm/commitdiff
Rename option to -lto-pass-remarks-output
authorAdam Nemet <anemet@apple.com>
Tue, 22 Nov 2016 07:35:14 +0000 (07:35 +0000)
committerAdam Nemet <anemet@apple.com>
Tue, 22 Nov 2016 07:35:14 +0000 (07:35 +0000)
The new option -pass-remarks-output broke LLVM_LINK_LLVM_DYLIB because
of the duplicate option name with opt.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287627 91177308-0d34-0410-b5e6-96231b3b80d8

lib/LTO/LTOCodeGenerator.cpp
test/LTO/X86/diagnostic-handler-remarks.ll
test/ThinLTO/X86/diagnostic-handler-remarks.ll

index 2b31afcc114bbd3443c00eb7fb1b5e6781a41319..784f316582c7c26e8d2acefe7f156fc8ea5180f8 100644 (file)
@@ -93,7 +93,7 @@ cl::opt<bool> LTOStripInvalidDebugInfo(
     cl::Hidden);
 
 cl::opt<std::string>
-    LTORemarksFilename("pass-remarks-output",
+    LTORemarksFilename("lto-pass-remarks-output",
                        cl::desc("Output filename for pass remarks"),
                        cl::value_desc("filename"));
 }
index b861fa79134e9d471715392b0c02422bcc292608..def3cd223e8e2695dfd1783ea46ed482eab21a6b 100644 (file)
@@ -28,7 +28,7 @@
 ; RUN: llvm-nm %t.o | FileCheck %s -check-prefix NM
 
 ; Optimization records are collected regardless of the diagnostic handler
-; RUN: llvm-lto -pass-remarks-output=%t.yaml \
+; RUN: llvm-lto -lto-pass-remarks-output=%t.yaml \
 ; RUN:          -exported-symbol _func2 \
 ; RUN:          -exported-symbol _main -o %t.o %t.bc 2>&1 | \
 ; RUN:     FileCheck %s -allow-empty
index 9dc0e9691c007d5e55f6312166f2262e886d5145..87b8a4601bd10f6c9237587c77ffc4ecc9695c37 100644 (file)
@@ -3,7 +3,7 @@
 
 ; Optimization records are collected regardless of the diagnostic handler
 ; RUN: llvm-lto -thinlto-action=run \
-; RUN:          -pass-remarks-output=%t.yaml \
+; RUN:          -lto-pass-remarks-output=%t.yaml \
 ; RUN:          -exported-symbol _func2 \
 ; RUN:          -exported-symbol _main %t1.bc %t2.bc 2>&1 | \
 ; RUN:     FileCheck %s -allow-empty