commit | 2a063e2b8e38b49cc5ee4aa33841ce39378de567 | [log] [tgz] |
---|---|---|
author | Jim Stichnoth <stichnot@chromium.org> | Wed Oct 08 11:24:51 2014 -0700 |
committer | Jim Stichnoth <stichnot@chromium.org> | Wed Oct 08 11:24:51 2014 -0700 |
tree | 507a5e52f62cead5cbafc1558b01179944be5822 | |
parent | 645aa1a9a21d41f523575afad356e76062e9d696 [diff] |
Subzero: Fix emission of global initializers. Also changes the szbuild.py script to add -fdata-sections, and entirely removes the -disable-globals option. The global initializer emission basically copies what llc does, based on 3 properties of the global: constant vs non-constant, internal vs external, and full zero-initializer vs non-trivial initializer. BUG= none R=jvoung@chromium.org, kschimpf@google.com Review URL: https://codereview.chromium.org/631383003