diff options
author | Rui Ueyama <ruiu@google.com> | 2016-06-29 01:30:50 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2016-06-29 01:30:50 +0000 |
commit | 5e64d3fb9480a48a70d28fb43244d4659354a844 (patch) | |
tree | 8fa9e0ecf07ab8308a7338d189fd5433ee16ee76 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | |
parent | 80a4702d022f5294de015767c50a8416eb9ebb7b (diff) | |
download | llvm-5e64d3fb9480a48a70d28fb43244d4659354a844.zip llvm-5e64d3fb9480a48a70d28fb43244d4659354a844.tar.gz llvm-5e64d3fb9480a48a70d28fb43244d4659354a844.tar.bz2 |
Refactor ELF type inference functions.
Previously, we initialized Config->EKind and Config->EMachine when
we instantiate ELF objects. That was not an ideal location to do that
because the logic was buried too deep inside a concrete logic.
This patch moves the code to the driver so that the initialization
becomes explicit.
Differential Revision: http://reviews.llvm.org/D21784
llvm-svn: 274089
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions