HomePhabricator

Revert 76c5f277f2 "Re-land [Debug][CodeView] Emit fully qualified names for…

Authored by hans on Mon, May 18, 2:20 AM.

Description

Revert 76c5f277f2 "Re-land [Debug][CodeView] Emit fully qualified names for globals"

Before this patch, S_[L|G][THREAD32|DATA32] records were emitted with a simple name, not the fully qualified name (namespace + class scope).

Differential Revision: https://reviews.llvm.org/D79447

This causes asserts in Chromium builds:

CodeViewDebug.cpp:2997: void llvm::CodeViewDebug::emitDebugInfoForUDTs(const std::vector<std::pair<std::string, const DIType *>> &):
Assertion `OriginalSize == UDTs.size()' failed.

I will follow up on the Phabricator issue.