diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-07 13:37:13 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-03-07 13:37:13 +0000 |
commit | f8b86964caa57da955fdddcedaf5cd86f319fffa (patch) | |
tree | 1a11dc5b5fa3ac91984aa537650ebebcfcb1f6b8 /llvm/lib/Object/COFFObjectFile.cpp | |
parent | c9d79e810313a084fe9a699e9242de3a3b0f0444 (diff) | |
download | llvm-f8b86964caa57da955fdddcedaf5cd86f319fffa.zip llvm-f8b86964caa57da955fdddcedaf5cd86f319fffa.tar.gz llvm-f8b86964caa57da955fdddcedaf5cd86f319fffa.tar.bz2 |
Reapply r231508 "CodeGen: Emit constant temporaries into read-only globals."
I disabled putting the new global into the same COMDAT as the function for now.
There's a fundamental problem when we inline references to the global but still
have the global in a COMDAT linked to the inlined function. Since this is only
an optimization there may be other versions of the COMDAT around that are
missing the new global and hell breaks loose at link time.
I hope the chromium build doesn't break this time :)
llvm-svn: 231564
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions