aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorShubham Sandeep Rastogi <srastogi22@apple.com>2023-04-24 16:01:41 -0700
committerShubham Sandeep Rastogi <srastogi22@apple.com>2023-04-25 13:17:46 -0700
commitcb2dd94be8446e5ba8980c06f63b34b653cd4f87 (patch)
treecb78814869429cc0c98e2b07dffdcb3a083b7c75 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parent59a39c2fc91ed5b750083bc51dc43b6510a501b6 (diff)
downloadllvm-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