commit | e8c263a1c5df81594cf302ecadd813909c894487 | [log] [tgz] |
---|---|---|
author | Zonr Chang <zonr@google.com> | Tue Oct 12 00:35:29 2010 +0800 |
committer | Zonr Chang <zonr@google.com> | Tue Oct 12 00:35:29 2010 +0800 |
tree | 36e7cb52b56ff613522c6e9222da3c8645851b5c | |
parent | a02010cd90184a9c1be7b451fe32e114ffb1810f [diff] |
Refactor a bit & -M bug fixed. 1. Use llvm::tool_output_file instead of llvm::raw_stream. The former can automatically deleted itself from filesystem once the compilation failed. 2. Fix -M bug which causes segfault previously.