Simplify the creation of compressed debug sections.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 30 Apr 2015 21:51:58 +0000 (21:51 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 30 Apr 2015 21:51:58 +0000 (21:51 +0000)
commit868b3f47d216e9ab0fb1e72155524f20f8deb23d
treebea7b0ad158e4e4ad49ddc7c1e392b2914cd6dce
parent68f85e7d6af60500cb8765c0dc0eb4c8806e2c3e
Simplify the creation of compressed debug sections.

This is actually fairly simple in the current code layout: Check if we should
compress just before writing out and everything else just works.

This removes the last case in which the object writer was creating a
fragment.

llvm-svn: 236267
llvm/lib/MC/ELFObjectWriter.cpp