[PATCH] D29315: MCMacho: Allow __thread_ptr section after dwarf sections
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 31 10:21:56 PST 2017
MatzeB added inline comments.
Comment at: test/MC/MachO/ARM/no-tls-assert.ll:2
+; RUN: llc -filetype=obj -o /dev/null %s
+; This should not trigger the "Creating regular section after DWARF" assert.
+target triple = "thumbv7-apple-ios9.0.0"
> It would be better to check the ASM output for the section switch commands. Otherwise this test succeeds even if llc is symlinked to /bin/true ;-)
The assert would not trigger when writing assembly, but I can probably pipe the output through llvm-objdump.
More information about the llvm-commits