diff options
Diffstat (limited to 'src/passes/Flatten.cpp')
-rw-r--r-- | src/passes/Flatten.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/passes/Flatten.cpp b/src/passes/Flatten.cpp index 94544ae25..3ff037268 100644 --- a/src/passes/Flatten.cpp +++ b/src/passes/Flatten.cpp @@ -51,6 +51,11 @@ struct Flatten ExpressionStackWalker<Flatten, UnifiedExpressionVisitor<Flatten>>> { bool isFunctionParallel() override { return true; } + // Flattening splits the original locals into a great many other ones, losing + // track of the originals that DWARF refers to. + // FIXME DWARF updating does not handle local changes yet. + bool invalidatesDWARF() override { return true; } + Pass* create() override { return new Flatten; } // For each expression, a bunch of expressions that should execute right |