diff options
author | Rui Ueyama <ruiu@google.com> | 2015-07-04 02:26:20 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2015-07-04 02:26:20 +0000 |
commit | cffbe7cb554e2cfffa3759e54a0d87c20dd7636e (patch) | |
tree | df1f738e3859a55b18cb169efb86dbde86d21ab9 /llvm/lib/CodeGen/MachineTraceMetrics.cpp | |
parent | 3126c6c565efed0d3d5391b5fc35f841759ff876 (diff) | |
download | llvm-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