mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-25 00:33:15 +00:00
Disable the protection from escaped allocas in an attempt to find violating passes. This may break the buildbots. I plan to revert it in a few hours.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164024 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9f9ce61972
commit
a26cadc58d
@ -62,14 +62,13 @@ DisableColoring("no-stack-coloring",
|
||||
cl::init(false), cl::Hidden,
|
||||
cl::desc("Disable stack coloring"));
|
||||
|
||||
|
||||
/// The user may write code that uses allocas outside of the declared lifetime
|
||||
/// zone. This can happen when the user returns a reference to a local
|
||||
/// data-structure. We can detect these cases and decide not to optimize the
|
||||
/// code. If this flag is enabled, we try to save the user.
|
||||
static cl::opt<bool>
|
||||
ProtectFromEscapedAllocas("protect-from-escaped-allocas",
|
||||
cl::init(true), cl::Hidden,
|
||||
cl::init(false), cl::Hidden,
|
||||
cl::desc("Do not optimize lifetime zones that are broken"));
|
||||
|
||||
STATISTIC(NumMarkerSeen, "Number of lifetime markers found.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user