Fix lldb-vscode frame test failure
authorJeffrey Tan <jeffreytan@fb.com>
Mon, 23 May 2022 17:17:44 +0000 (10:17 -0700)
committerJeffrey Tan <jeffreytan@fb.com>
Mon, 23 May 2022 21:04:37 +0000 (14:04 -0700)
commita1d490319a9e2196786f6504e0c447ee0a1dad71
tree87c5fb541d1bef8efaca2c9862f42e81e75c9ec8
parent40b9a2616e459ce271fe14aedd915cc841021dd7
Fix lldb-vscode frame test failure

Previous patch (https://reviews.llvm.org/D126013) added a new "optimized"
attribute to DAP stack frame this caused some tests, like
lldb-vscode/coreFile/TestVSCode_coreFile.py
to fail because the tests explicitly check for all attributes.

To fix the test failure I decided to remove this attribute.

Differential Revision: https://reviews.llvm.org/D126225
lldb/tools/lldb-vscode/JSONUtils.cpp