ELF: Simplify ELFFile by deriving from SimpleFile instead of File.
authorRui Ueyama <ruiu@google.com>
Tue, 7 Apr 2015 22:27:43 +0000 (22:27 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 7 Apr 2015 22:27:43 +0000 (22:27 +0000)
commit5a79fbeb2e22707dfc3581db37fd51206d02d5fc
tree0850da373df8460cf9bc93d6eff0a29622adf860
parentad3682087376d2ca16bebdc3ef4cc74a85a408f0
ELF: Simplify ELFFile by deriving from SimpleFile instead of File.

SimpleFile defines defined(). undefined(), sharedLibrary() and absolute().
We should use the class instead of deriving from the base class and
re-defining the member functions in ELFFile.

llvm-svn: 234367
lld/lib/ReaderWriter/ELF/ELFFile.h