diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-09-19 06:09:25 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-09-19 06:09:25 +0000 |
| commit | b9e9e0d5f3209110a2c598dd1288b2b896296d71 (patch) | |
| tree | 7b0e046deaa72de60f2dd96056b3b925c36c1846 /llvm/tools/llvm-cov/CodeCoverage.cpp | |
| parent | 42c7aab7480733925d10a7ecbcea7ab3470c7c00 (diff) | |
| download | llvm-b9e9e0d5f3209110a2c598dd1288b2b896296d71.zip llvm-b9e9e0d5f3209110a2c598dd1288b2b896296d71.tar.gz llvm-b9e9e0d5f3209110a2c598dd1288b2b896296d71.tar.bz2 | |
PECOFF: loosen assumptions about x86-only targets
Rather than saving whether we are targeting 64-bit x86 (x86_64), simply convert
the single use of that information to the actual relocation type. This will
permit the selection of non-x86 relocation types (e.g. for WoA support).
Inline the access of the machine type field as it is relatively cheap (a couple
of pointer dereferences) rather than storing the relocation type as a member
variable.
llvm-svn: 218104
Diffstat (limited to 'llvm/tools/llvm-cov/CodeCoverage.cpp')
0 files changed, 0 insertions, 0 deletions
