X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FLLVMC%2FHookWithInFile.td;h=ed08b5321ccfb354deee13a9eaa7e0470d6ea5fb;hb=689cf3cb6222652b92fdbd52e96c1d2f421ac44e;hp=e15e43cdf040bd6c0688fdcb514113c7a3d447e4;hpb=bc15f242d578974a09acc3c44f4f514493eddd60;p=oota-llvm.git diff --git a/test/LLVMC/HookWithInFile.td b/test/LLVMC/HookWithInFile.td index e15e43cdf04..ed08b5321cc 100644 --- a/test/LLVMC/HookWithInFile.td +++ b/test/LLVMC/HookWithInFile.td @@ -1,15 +1,16 @@ // Check that a hook can be given $INFILE as an argument. // RUN: tblgen -I %p/../../include --gen-llvmc %s -o %t // RUN: FileCheck -input-file %t %s -// RUN: %compile_cxx -fexceptions -x c++ %t +// RUN: %compile_cxx %t +// XFAIL: vg_leak include "llvm/CompilerDriver/Common.td" def dummy_tool : Tool<[ // CHECK: Hook(inFile.c_str()) -(cmd_line "$CALL(Hook, '$INFILE')/path $INFILE"), +(command "$CALL(Hook, '$INFILE')/path"), (in_language "dummy"), (out_language "dummy") ]>; -def DummyGraph : CompilationGraph<[SimpleEdge<"root", "dummy_tool">]>; +def DummyGraph : CompilationGraph<[(edge "root", "dummy_tool")]>;