summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-02-29 04:21:24 +0000
committerGreg Clayton <gclayton@apple.com>2012-02-29 04:21:24 +0000
commita9f7b79dfe69d6cc94fc209a97c077d0d8953a2a (patch)
treec16f44ce84a4b49103b5ef252b60358e511c67ba /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parente4f22dfa95be88c79b4a19eb63bfd289930822d2 (diff)
<rdar://problem/10605072>
Added the ability to override command line commands. In some cases GUI interfaces might want to intercept commands like "quit" or "process launch" (which might cause the process to re-run). They can now do so by overriding/intercepting commands by using functions added to SBCommandInterpreter using a callback function. If the callback function returns true, the command is assumed to be handled. If false is returned the command should be evaluated normally. Adopted this up in the Driver.cpp for intercepting the "quit" command. llvm-svn: 151708
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions