Revert "[CodeView] Emit static data members as S_CONSTANTs."
authorAmy Huang <akhuang@google.com>
Tue, 27 Oct 2020 18:29:27 +0000 (11:29 -0700)
committerAmy Huang <akhuang@google.com>
Tue, 27 Oct 2020 18:29:58 +0000 (11:29 -0700)
commit504615353f31136dd6bf7a971b6c236fd70582be
tree15d34c653402da3523cfe0a8136c291ebd83a70d
parent16ca0037c87ec2db34511c686b12994b2600f050
Revert "[CodeView] Emit static data members as S_CONSTANTs."

Seems like there's an assert in here that we shouldn't be running into.

This reverts commit 515973222ed29abe49f241e89edb6854f44162d4.
clang/lib/CodeGen/CGDebugInfo.cpp
clang/test/CodeGenCXX/debug-info-static-member.cpp
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h
llvm/lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
llvm/test/DebugInfo/COFF/global-constants.ll
llvm/test/DebugInfo/COFF/types-array-unsized.ll