Revert "[DebugInfo] Refactored macro related generation, added a test case for macinf...
authorNico Weber <thakis@chromium.org>
Wed, 11 Dec 2019 02:32:30 +0000 (21:32 -0500)
committerNico Weber <thakis@chromium.org>
Wed, 11 Dec 2019 02:32:30 +0000 (21:32 -0500)
commitcaa412090666c10f854322cdc701c1cbf8ed726e
tree0ec91337fe0d4d6df8668e09d1983ec9e15fd685
parent2e48be09b02e6d01b85d31704d768b6d0c751751
Revert "[DebugInfo] Refactored macro related generation, added a test case for macinfo.dwo emission."

This reverts commit 307f60a1a3ff04313a75e2fc11bc14df4fc2ffb8.

DebugInfo/X86/debug-macinfo-split-dwarf.ll fails on Windows:

Command Output (stdout):
--
$ ":" "RUN: at line 1"
$ "c:\src\llvm-project\out\gn\bin\llc.exe" "-mtriple=x86_64-pc-windows-gnu" "-O0" "-split-dwarf-file=foo.dwo" "-filetype=obj"
Assertion failed: Section && "Cannot switch to a null section!", file ../../llvm/lib/MC/MCStreamer.cpp, line 1103
Stack dump:
0. Program arguments: c:\src\llvm-project\out\gn\bin\llc.exe -mtriple=x86_64-pc-windows-gnu -O0 -split-dwarf-file=foo.dwo -filetype=obj
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
llvm/test/DebugInfo/X86/debug-macinfo-split-dwarf.ll [deleted file]