Commit b965ac5d authored by Rui Ueyama's avatar Rui Ueyama
Browse files

ELF: Remove a template parameter from ELF{Object,DOS}Reader constructors.

There is one-to-one correspondence between ELF machine type and a
LinkingContext. We passed them as separate arguments to the constructor.
This patch is to teach the LinkingContexts about their machine types,
so that we don't need to pass that data as separate arguments.

llvm-svn: 233894
parent dfb02a9e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment