[llvm] r179494 - Use object file specific section type for initial text section
Nico Rieck
nico.rieck at gmail.com
Mon Apr 15 13:38:44 PDT 2013
On 15.04.2013 17:51, Tom Stellard wrote:
> This commit causes an assertion failure when compiling object files on
> the R600 target. [...]
>
> With the checkout r179494 I get the assertion failure:
>
> /home/tstellar/llvm/include/llvm/MC/MCStreamer.h:224:
> void llvm::MCStreamer::SwitchSection(const llvm::MCSection *): Assertion
> `Section && "Cannot switch to a null section!"' failed.
Thanks for the note. This appears to be an initialization bug. What's
actually happening is that we request the text section from an
uninitialized object file info. I'll submit a fix.
-Nico
More information about the llvm-commits
mailing list