mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Revert r218778 while investigating buldbot breakage.
"Move the complex address expression out of DIVariable and into an extra" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218782 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -255,11 +255,10 @@ protected:
|
||||
// Create a local variable around the alloca
|
||||
DIType IntType = DBuilder.createBasicType("int", 32, 0,
|
||||
dwarf::DW_ATE_signed);
|
||||
DIExpression E = DBuilder.createExpression();
|
||||
DIVariable Variable = DBuilder.createLocalVariable(
|
||||
dwarf::DW_TAG_auto_variable, Subprogram, "x", File, 5, IntType, true);
|
||||
DBuilder.insertDeclare(Alloca, Variable, E, Store);
|
||||
DBuilder.insertDbgValueIntrinsic(AllocaContent, 0, Variable, E, Terminator);
|
||||
DBuilder.insertDeclare(Alloca, Variable, Store);
|
||||
DBuilder.insertDbgValueIntrinsic(AllocaContent, 0, Variable, Terminator);
|
||||
// Finalize the debug info
|
||||
DBuilder.finalize();
|
||||
|
||||
|
Reference in New Issue
Block a user