Move logic of determining ELF entsize from the .s printer to initialization
authorJan Wen Voung <jvoung@google.com>
Thu, 30 Sep 2010 05:59:22 +0000 (05:59 +0000)
committerJan Wen Voung <jvoung@google.com>
Thu, 30 Sep 2010 05:59:22 +0000 (05:59 +0000)
commit186e7a0fb1b2028e4fa9c3efe29d9433c91b3f66
treedffdd5461c22f40aeb61afb3c80cef1ba8567648
parent1b6285cd72c480cd39048539d03b240e3c47d195
Move logic of determining ELF entsize from the .s printer to initialization
time. That way, the EntrySize field is initialized for other code paths,
namely, the .ll -> .o code path.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115141 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCSectionELF.h
lib/MC/MCContext.cpp
lib/MC/MCSectionELF.cpp
test/MC/ELF/entsize.ll [new file with mode: 0644]