summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/stack-reuse-miscompile.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-06-08 05:00:42 +0000
committerRui Ueyama <ruiu@google.com>2015-06-08 05:00:42 +0000
commit80141a4bcdaf4ed81be52790eea5190c7e2627b7 (patch)
tree084b1fc68395edcc4d6594a05fe9a0ebb30a2e17 /clang/test/CodeGenCXX/stack-reuse-miscompile.cpp
parent056decbfee69b5c02da0ae36d1209fff895de958 (diff)
downloadbcm5719-llvm-80141a4bcdaf4ed81be52790eea5190c7e2627b7.tar.gz
bcm5719-llvm-80141a4bcdaf4ed81be52790eea5190c7e2627b7.zip
COFF: Check for auxiliary symbol's type.
We forgot to check for auxiliary symbol's type. So we sometimes read garbage as associative section definitions. Associative sections are considered as not live themselves by the garbage collector because they are live only when associaited sections are live. By reading more data (or garbage) as associative section definitions, we treated more sections as non-GC-roots, that caused the linker to discard too many sections by mistake. That caused another mysterious bug (such as some global constructors don't run at all for some reason.) llvm-svn: 239287
Diffstat (limited to 'clang/test/CodeGenCXX/stack-reuse-miscompile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud