diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-09-19 06:09:33 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-09-19 06:09:33 +0000 |
| commit | 752c9cb12ff6d6e50042d8178bf42c882ed580c1 (patch) | |
| tree | 11fa322c3a61926f5ed2e2de575df3250fa392f4 /llvm/tools/llvm-cov/CodeCoverage.cpp | |
| parent | c2c2937d5579bd62c865824e6b4e56f055325319 (diff) | |
| download | llvm-752c9cb12ff6d6e50042d8178bf42c882ed580c1.zip llvm-752c9cb12ff6d6e50042d8178bf42c882ed580c1.tar.gz llvm-752c9cb12ff6d6e50042d8178bf42c882ed580c1.tar.bz2 | |
PECOFF: loosen another assumption of x86 only
Cache the machine type value of the linking context. We need this in order to
calculate the virtual address of the atom when resolving function symbols.
Windows on ARM must check if the atom is a function and if so, set the Thumb bit
for the returned virtual address. Failure to do so will result in an abnormal
exit due to a trap caused by invalid instruction decoding. The same information
can be used to determine the relocation type that was previously being done via
is64 to select between x86 and x86_64.
llvm-svn: 218106
Diffstat (limited to 'llvm/tools/llvm-cov/CodeCoverage.cpp')
0 files changed, 0 insertions, 0 deletions
