未验证 提交 f925d3c8 编写于 作者: C chainhelen 提交者: GitHub

pkg/proc: remove meanless code in dwarf_expr_test.go. (#1850)

上级 7eddfb77
......@@ -119,7 +119,7 @@ func TestDwarfExprRegisters(t *testing.T) {
mainfn := bi.LookupFunc["main.main"]
mem := newFakeMemory(defaultCFA, uint64(0), uint64(testCases["b"]), uint16(testCases["pair.v"]))
mem := newFakeMemory(defaultCFA, uint64(0), uint64(testCases["b"]))
regs := linutil.AMD64Registers{Regs: &linutil.AMD64PtraceRegs{}}
regs.Regs.Rax = uint64(testCases["a"])
regs.Regs.Rdx = uint64(testCases["c"])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册