diff options
author | Shuxin Yang <shuxin.llvm@gmail.com> | 2013-08-12 21:07:31 +0000 |
---|---|---|
committer | Shuxin Yang <shuxin.llvm@gmail.com> | 2013-08-12 21:07:31 +0000 |
commit | cfaa636a1d31f2db71df627e4882e9d5c066c419 (patch) | |
tree | 7ce70ace4c7c6fe692b4eb1155d0509181db4ede /tools/lto/lto.cpp | |
parent | b0a50ade8b59816324783733e9ac8eb2aa7e73d6 (diff) | |
download | llvm-cfaa636a1d31f2db71df627e4882e9d5c066c419.tar.gz llvm-cfaa636a1d31f2db71df627e4882e9d5c066c419.tar.bz2 llvm-cfaa636a1d31f2db71df627e4882e9d5c066c419.tar.xz |
Revert r188188 and r188200.
In order to appease people (in Apple) who accuse me for committing "huge change" (?) without proper review.
Thank Eric for fixing a compile-warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188204 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto/lto.cpp')
-rw-r--r-- | tools/lto/lto.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tools/lto/lto.cpp b/tools/lto/lto.cpp index c7009d69e1..db7147c2bc 100644 --- a/tools/lto/lto.cpp +++ b/tools/lto/lto.cpp @@ -207,19 +207,6 @@ bool lto_codegen_compile_to_file(lto_code_gen_t cg, const char **name) { return !cg->compile_to_file(name, sLastErrorString); } -/// Get intermediate files that need to be removed before linker exit. Upon -/// return, the paths of the files need to be removed is written to "paths". The -/// paths are separated by a single '\0', and the last path is ended by double -/// '\0's. A file could be a directory; in this case, the entire directory needs -/// to be removed recursively. -/// -/// It is only necessary to call this function after \p lto_codegen_compile was -/// successfully called. -void -lto_codegen_get_files_need_remove(lto_code_gen_t cg, const char **paths) { - *paths = cg->getFilesNeedToRemove(); -} - /// lto_codegen_debug_options - Used to pass extra options to the code /// generator. void lto_codegen_debug_options(lto_code_gen_t cg, const char *opt) { |