aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2018-11-30 16:34:56 +0000
committerRui Ueyama <ruiu@google.com>2018-11-30 16:34:56 +0000
commitc310742dc3e50f0f2da65839df842068944c8390 (patch)
treea073fd0e1c9885e6eadc5288ee0ebc56a7c78d09 /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
parent81b77e9159420ebbdbdb5a4b7b0955d9e4628934 (diff)
downloadllvm-c310742dc3e50f0f2da65839df842068944c8390.zip
llvm-c310742dc3e50f0f2da65839df842068944c8390.tar.gz
llvm-c310742dc3e50f0f2da65839df842068944c8390.tar.bz2
Do not assume .idata is zero-initialized.
We initialize .text section with 0xcc (INT3 instruction), so we need to explicitly write data even if it is zero if it can be in a .text section. If you specify /merge:.rdata=.text, .rdata (which contains .idata) is put to .text, so we need to do this. Fixes https://bugs.llvm.org/show_bug.cgi?id=39826 Differential Revision: https://reviews.llvm.org/D55098 llvm-svn: 348000
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp')
0 files changed, 0 insertions, 0 deletions