summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-03-31 23:13:30 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-03-31 23:13:30 +0000
commitaf63dddc586e02fd3cd36d5635db43f1682814a2 (patch)
tree4f8ef1b91deee353096bed257c6848591e356e04 /lib/CodeGen/CGExpr.cpp
parent8c03089bdaafa9f932d59f81ca584f39f1df89e2 (diff)
downloadclang-af63dddc586e02fd3cd36d5635db43f1682814a2.tar.gz
clang-af63dddc586e02fd3cd36d5635db43f1682814a2.tar.bz2
clang-af63dddc586e02fd3cd36d5635db43f1682814a2.tar.xz
DebugInfo compression: Enable compression before any sections are created.
For those playing at home this produced some fairly subtle behavior. The sections created in InitMCObjectFileInfo were created without compressed debug info (a mistake, but not necessarily /broken). Since these sections were almost always referenced by the existing MCSection object, this almost worked. This got weird when we got to handling the relocations for a section. See ELFObjectWriter::WriteSection where we compute the true section for a relocation section by simply stripping the ".rela" prefix and then looking up that section - doing so hit the compression codepath, looked up .zdebug_blah and found a newly constructed empty section... thus, things got weird. This is untestable without a cross-project test (let me know if people would prefer that to no testing). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205261 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions