about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorErick Tryzelaar <erick.tryzelaar@gmail.com>2014-04-01 22:07:37 -0700
committerErick Tryzelaar <erick.tryzelaar@gmail.com>2014-04-03 20:28:59 -0700
commit1b6997d0692e743066dfc40e7ab4b65f8ed2e7fd (patch)
tree85342621e7062b6aa347dd1fbd3487af89af9b74 /src/rustllvm/ExecutionEngineWrapper.cpp
parent3961957bd61b7f9ab350c0a6621a1ad18716c332 (diff)
downloadrust-1b6997d0692e743066dfc40e7ab4b65f8ed2e7fd.tar.gz
rust-1b6997d0692e743066dfc40e7ab4b65f8ed2e7fd.zip
test: avoid infinite loop in out-of-stack.rs
This fixes #13238. It avoids an infinite loop when compiling
the tests with `-g`. Without this change, the debuginfo on
`black_box` prevents the method from being inlined, which
allows llvm to convert `silent_recurse` into a tail-call. This
then loops forever instead of consuming all the stack like it
is supposed to. This patch forces inlining `black_box`, which
triggers the right error.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions