[PATCH] D13055: [ELF2] Handle -m option

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 28 13:34:53 PDT 2015


rafael added inline comments.

================
Comment at: ELF/Driver.cpp:51
@@ -49,2 +50,3 @@
 
-static std::unique_ptr<InputFile> createFile(MemoryBufferRef MB) {
+static uint16_t getElfMachineType(StringRef Object) {
+  using namespace object;
----------------
Drop this function. You can use the existing one.


http://reviews.llvm.org/D13055





More information about the llvm-commits mailing list