Page MenuHomePhabricator

D60196.diff
No OneTemporary

File Metadata

Created
Mon, Jul 22, 3:22 PM

D60196.diff

Index: llvm/trunk/test/tools/llvm-symbolizer/basic.s
===================================================================
--- llvm/trunk/test/tools/llvm-symbolizer/basic.s
+++ llvm/trunk/test/tools/llvm-symbolizer/basic.s
@@ -17,7 +17,9 @@
# Check --obj aliases --exe, -e
# RUN: llvm-symbolizer 0xa 0xb --exe=%t.o | FileCheck %s
+# RUN: llvm-symbolizer 0xa 0xb -e %t.o | FileCheck %s
# RUN: llvm-symbolizer 0xa 0xb -e=%t.o | FileCheck %s
+# RUN: llvm-symbolizer 0xa 0xb -e%t.o | FileCheck %s
# CHECK: basic.s:5:0
# CHECK: basic.s:6:0
Index: llvm/trunk/test/tools/llvm-symbolizer/flag-grouping.test
===================================================================
--- llvm/trunk/test/tools/llvm-symbolizer/flag-grouping.test
+++ llvm/trunk/test/tools/llvm-symbolizer/flag-grouping.test
@@ -1,4 +1,7 @@
RUN: llvm-symbolizer -apCi -obj=%p/Inputs/addr.exe < %p/Inputs/addr.inp | FileCheck %s
+RUN: llvm-symbolizer -apCie %p/Inputs/addr.exe < %p/Inputs/addr.inp | FileCheck %s
+RUN: llvm-symbolizer -apCie=%p/Inputs/addr.exe < %p/Inputs/addr.inp | FileCheck %s
+RUN: llvm-symbolizer -apCie%p/Inputs/addr.exe < %p/Inputs/addr.inp | FileCheck %s
CHECK: some text
CHECK: 0x40054d: inctwo
Index: llvm/trunk/tools/llvm-symbolizer/llvm-symbolizer.cpp
===================================================================
--- llvm/trunk/tools/llvm-symbolizer/llvm-symbolizer.cpp
+++ llvm/trunk/tools/llvm-symbolizer/llvm-symbolizer.cpp
@@ -94,10 +94,9 @@
static cl::alias
ClBinaryNameAliasExe("exe", cl::desc("Alias for -obj"),
cl::NotHidden, cl::aliasopt(ClBinaryName));
-static cl::alias
-ClBinaryNameAliasE("e", cl::desc("Alias for -obj"),
- cl::NotHidden, cl::aliasopt(ClBinaryName));
-
+static cl::alias ClBinaryNameAliasE("e", cl::desc("Alias for -obj"),
+ cl::NotHidden, cl::Grouping, cl::Prefix,
+ cl::aliasopt(ClBinaryName));
static cl::opt<std::string>
ClDwpName("dwp", cl::init(""),

Event Timeline