projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement enough of the missing instalias support to get
[oota-llvm.git]
/
test
/
LLVMC
/
AppendCmdHook.td
diff --git
a/test/LLVMC/AppendCmdHook.td
b/test/LLVMC/AppendCmdHook.td
index 888d6869999a696f79656122c79c9193317efb3c..c85f002e6e8b4c7de1d08bebc6efd2da72870f59 100644
(file)
--- a/
test/LLVMC/AppendCmdHook.td
+++ b/
test/LLVMC/AppendCmdHook.td
@@
-1,7
+1,8
@@
// Check that hooks can be invoked from 'append_cmd'.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
// Check that hooks can be invoked from 'append_cmd'.
// RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t
-// RUN: FileCheck -input-file=%t %s
-// RUN: %compile_cxx -fexceptions -x c++ %t
+// RUN: FileCheck -input-file %t %s
+// RUN: %compile_cxx %t
+// XFAIL: vg_leak
include "llvm/CompilerDriver/Common.td"
include "llvm/CompilerDriver/Common.td"
@@
-13,16
+14,16
@@
def OptList : OptionList<[
]>;
def dummy_tool : Tool<[
]>;
def dummy_tool : Tool<[
-(c
md_line "dummy_cmd $INFILE
"),
+(c
ommand "dummy_cmd
"),
(in_language "dummy_lang"),
(out_language "dummy_lang"),
(actions (case
(in_language "dummy_lang"),
(out_language "dummy_lang"),
(actions (case
- // CHECK:
push_back("-arg1")
- // CHECK:
push_back("-arg2")
+ // CHECK:
, "-arg1"));
+ // CHECK:
, "-arg2"));
(switch_on "dummy1"), (append_cmd "-arg1 -arg2"),
(switch_on "dummy1"), (append_cmd "-arg1 -arg2"),
- // CHECK:
push_back("-arg3")
+ // CHECK:
, "-arg3"));
// CHECK: hooks::MyHook()
(switch_on "dummy2"), (append_cmd "-arg3 $CALL(MyHook)")))
]>;
// CHECK: hooks::MyHook()
(switch_on "dummy2"), (append_cmd "-arg3 $CALL(MyHook)")))
]>;
-def DummyGraph : CompilationGraph<[
SimpleEdge<"root", "dummy_tool">
]>;
+def DummyGraph : CompilationGraph<[
(edge "root", "dummy_tool")
]>;