[all-commits] [llvm/llvm-project] cb2dd9: Factor out split-dwarf test in Generic/empty.ll
Shubham Sandeep Rastogi via All-commits
all-commits at lists.llvm.org
Tue Apr 25 13:18:20 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cb2dd94be8446e5ba8980c06f63b34b653cd4f87
https://github.com/llvm/llvm-project/commit/cb2dd94be8446e5ba8980c06f63b34b653cd4f87
Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
Date: 2023-04-25 (Tue, 25 Apr 2023)
Changed paths:
M llvm/test/DebugInfo/Generic/empty.ll
A llvm/test/DebugInfo/X86/empty-split-dwarf.ll
Log Message:
-----------
Factor out split-dwarf test in Generic/empty.ll
In llvm/test/DebugInfo/Generic/empty.ll, there are two RUN lines. The
second one use the option "-split-dwarf-file=foo.dwo"
Since darwin doesn't support split dwarf, there is an assertion when
running the test:
"Assertion failed: (Section && "Cannot switch to a null section!"),
function switchSection, file llvm/lib/MC/MCStreamer.cpp, line 1238"
While there is an XFAIL for darwin in the test, It is not a good
practice to run a test on darwin which causes an assertion. This
patch is a small refactoring of the test so that the split-dwarf test
can be it's own file with an explicit elf triple.
Differential Review: https://reviews.llvm.org/D149106
More information about the All-commits
mailing list