aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/CodeCoverage.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-09-19 06:09:33 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-09-19 06:09:33 +0000
commit752c9cb12ff6d6e50042d8178bf42c882ed580c1 (patch)
tree11fa322c3a61926f5ed2e2de575df3250fa392f4 /llvm/tools/llvm-cov/CodeCoverage.cpp
parentc2c2937d5579bd62c865824e6b4e56f055325319 (diff)
downloadllvm-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