diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-30 06:12:24 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2008-05-30 06:12:24 +0000 |
commit | 793f63db7b1d534647d90b7ee7194d36aced0c66 (patch) | |
tree | a63cd3e3b53ababa63827911f79bd63aa1768b98 /docs/CommandGuide/llvm-as.pod | |
parent | 1a03d947c563c6a76863f1fad3c2a5717c136917 (diff) | |
download | external_llvm-793f63db7b1d534647d90b7ee7194d36aced0c66.zip external_llvm-793f63db7b1d534647d90b7ee7194d36aced0c66.tar.gz external_llvm-793f63db7b1d534647d90b7ee7194d36aced0c66.tar.bz2 |
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).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51732 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CommandGuide/llvm-as.pod')
0 files changed, 0 insertions, 0 deletions