diff options
author | Sam Bingner <sam@bingner.com> | 2019-12-02 16:57:52 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-12-05 13:30:39 -1000 |
commit | aab8977ee9f4c3b7221a4106866b4f3a79d25a61 (patch) | |
tree | e66b40c2abdc399af067d6e7a8809a12aa52a6b9 /data/ld64/thinlto.diff | |
parent | 45864b910a6b123659347758aea1a820675851fd (diff) |
Update ld64 and compile for AppleTV
Diffstat (limited to 'data/ld64/thinlto.diff')
-rw-r--r-- | data/ld64/thinlto.diff | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/data/ld64/thinlto.diff b/data/ld64/thinlto.diff deleted file mode 100644 index 0466146c2..000000000 --- a/data/ld64/thinlto.diff +++ /dev/null @@ -1,34 +0,0 @@ -diff -ur ld64-274.2/src/ld/parsers/lto_file.cpp ld64-274.2+iPhone/src/ld/parsers/lto_file.cpp ---- ld64-274.2/src/ld/parsers/lto_file.cpp 2016-10-21 10:04:17.000000000 -1000 -+++ ld64-274.2+iPhone/src/ld/parsers/lto_file.cpp 2018-09-05 11:48:40.000000000 -1000 -@@ -291,12 +291,14 @@ - std::vector<const ld::Atom*>& newAtoms, - std::vector<const char*>& additionalUndefines); - -+#if LTO_API_VERSION >= 18 - static thinlto_code_gen_t init_thinlto_codegen(const std::vector<File*>& files, - const std::vector<const ld::Atom*>& allAtoms, - ld::Internal& state, - const OptimizeOptions& options, - CStringToAtom& deadllvmAtoms, - CStringToAtom& llvmAtoms); -+#endif - - static std::vector<File*> _s_files; - static bool _s_llvmOptionsProcessed; -@@ -1028,6 +1030,7 @@ - return true; - } - -+#if LTO_API_VERSION >= 18 - // Create the ThinLTO codegenerator - thinlto_code_gen_t Parser::init_thinlto_codegen(const std::vector<File*>& files, - const std::vector<const ld::Atom*>& allAtoms, -@@ -1178,6 +1181,7 @@ - - return thingenerator; - } -+#endif - - // Full LTO processing - bool Parser::optimizeThinLTO(const std::vector<File*>& files, |