aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-07-04 02:26:20 +0000
committerRui Ueyama <ruiu@google.com>2015-07-04 02:26:20 +0000
commitcffbe7cb554e2cfffa3759e54a0d87c20dd7636e (patch)
treedf1f738e3859a55b18cb169efb86dbde86d21ab9 /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parent3126c6c565efed0d3d5391b5fc35f841759ff876 (diff)
downloadllvm-cffbe7cb554e2cfffa3759e54a0d87c20dd7636e.zip
llvm-cffbe7cb554e2cfffa3759e54a0d87c20dd7636e.tar.gz
llvm-cffbe7cb554e2cfffa3759e54a0d87c20dd7636e.tar.bz2
COFF: Do not use VirtualSize section header field for directive sections.
Looks like clang-cl sets a bogus value to the field, which makes getSectionContents() to truncate section contents. This patch directly uses SizeOfRawData field instead of VirtualSize to see if this can make buildbot green. llvm-svn: 241386
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions