Revert "[SafeStack][DebugInfo] Insert DW_OP_deref in correct location"
authorJeremy Morse <jeremy.morse@sony.com>
Wed, 5 Feb 2020 15:19:00 +0000 (15:19 +0000)
committerJeremy Morse <jeremy.morse@sony.com>
Thu, 6 Feb 2020 14:41:39 +0000 (14:41 +0000)
commited5998d21e4bdffe4baae918bc9065ae8435c49c
tree7029423e82930e007a001e69ebebe73b48568796
parentd6da8a1d945361327b8da79195dbfccc2e533e87
Revert "[SafeStack][DebugInfo] Insert DW_OP_deref in correct location"

This reverts commit 2d3174c4df6b5f4131346828d0a31675d80d6e2b.

The overall solution for this problem is reverting D68945, which wasn't
handling the -O0 path through the codegen backend correctly. See:
discussion in D73526.
llvm/lib/CodeGen/LiveDebugVariables.cpp
llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
llvm/test/DebugInfo/COFF/types-array-advanced.ll
llvm/test/DebugInfo/X86/safestack-byval.ll
llvm/test/DebugInfo/X86/safestack-deref.ll [deleted file]