[PATCH] D13055: [ELF2] Handle -m option
Rafael Ávila de Espíndola via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 30 14:39:29 PDT 2015
rafael added inline comments.
================
Comment at: ELF/Config.h:30
@@ -20,1 +29,3 @@
struct Configuration {
+ bool is64() const {
+ return ElfKind == ELF64BEKind || ElfKind == ELF64LEKind;
----------------
git-clang-format
================
Comment at: ELF/SymbolTable.cpp:26
@@ -25,4 +25,3 @@
bool SymbolTable::shouldUseRela() const {
- ELFKind K = getFirstELF()->getELFKind();
- return K == ELF64LEKind || K == ELF64BEKind;
+ return Config->is64();
}
----------------
git-clang-format
http://reviews.llvm.org/D13055
More information about the llvm-commits
mailing list