diff options
author | Shubham Sandeep Rastogi <srastogi22@apple.com> | 2023-04-24 16:01:41 -0700 |
---|---|---|
committer | Shubham Sandeep Rastogi <srastogi22@apple.com> | 2023-04-25 13:17:46 -0700 |
commit | cb2dd94be8446e5ba8980c06f63b34b653cd4f87 (patch) | |
tree | cb78814869429cc0c98e2b07dffdcb3a083b7c75 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 59a39c2fc91ed5b750083bc51dc43b6510a501b6 (diff) | |
download | llvm-cb2dd94be8446e5ba8980c06f63b34b653cd4f87.zip llvm-cb2dd94be8446e5ba8980c06f63b34b653cd4f87.tar.gz llvm-cb2dd94be8446e5ba8980c06f63b34b653cd4f87.tar.bz2 |
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
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions