[PATCH] D21779: [LTO] Infer EKind/EMachine from Bitcode files
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 27 19:24:27 PDT 2016
ruiu added a subscriber: ruiu.
================
Comment at: ELF/InputFiles.cpp:691
@@ -689,1 +690,3 @@
+static void setBitcodeMachineAttributes(MemoryBufferRef MB) {
+ auto Obj = check(IRObjectFile::create(MB, Driver->Context));
----------------
Instead of defining a special function for bitcode files, can you define `getElfKind` and `getMachineType` to BitcodeFile?
http://reviews.llvm.org/D21779
More information about the llvm-commits
mailing list