1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-26 22:42:46 +02:00
llvm-mirror/tools/llvmc2
Mikhail Glushenkov 7ded98d7b6 Add support for user-provided hooks and environment variable reads to the cmd_line tool property.
Used like this: (cmd_line "$CALL(MyHook) --option -o $ENV(VARIABLE) $CALL(AnotherHook)")
Also works with case expressions.

Hook declarations are auto-generated, the definitions should be provided by the user
(just drop a .cpp file in the tools/llvmc2 directory).

Hooks should live in the "hooks" namespace and have type std::string hooks::Hook(void).

llvm-svn: 51732
2008-05-30 06:12:24 +00:00
..
doc Add new edge property combinator: weight. 2008-05-06 18:18:20 +00:00
Action.cpp Add -x option (like in gcc). 2008-05-06 18:10:53 +00:00
Action.h Make it possible to use the generalised 'case' construct in the cmd_line property. 2008-05-30 06:10:19 +00:00
AutoGenerated.cpp Add support for user-provided hooks and environment variable reads to the cmd_line tool property. 2008-05-30 06:12:24 +00:00
AutoGenerated.h Use Doxygen-style comments. 2008-05-07 21:50:19 +00:00
Common.td Make it possible to use the generalised 'case' construct in the cmd_line property. 2008-05-30 06:10:19 +00:00
CompilationGraph.cpp Make it possible to use the generalised 'case' construct in the cmd_line property. 2008-05-30 06:10:19 +00:00
CompilationGraph.h Update the code to the fact that StringSet now lives in llvm/ADT. 2008-05-30 06:11:18 +00:00
Error.h Fix some error messages; Make LLVMC pass through the exit code of a failed tool. 2008-05-12 16:31:42 +00:00
Graph.td Add a generalised 'case' construct. 2008-05-30 06:08:50 +00:00
llvmc.cpp Enable the response file ('llvmc @file') support. 2008-05-30 06:11:45 +00:00
Makefile Add a generalised 'case' construct. 2008-05-30 06:08:50 +00:00
Tool.h Update the code to the fact that StringSet now lives in llvm/ADT. 2008-05-30 06:11:18 +00:00
Tools.td Make it possible to use the generalised 'case' construct in the cmd_line property. 2008-05-30 06:10:19 +00:00