diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-07-26 22:16:39 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-07-26 22:16:39 +0000 |
commit | d42b58b61cd773e9f798d02c42652488d67d38df (patch) | |
tree | e3d199cc81f873c8dfffcb4335f5e81029ce4215 /lib/CodeGen | |
parent | 2749b3e745240832c3c9ddf5b6cf8a589497238b (diff) |
Fix libLTO:
* Call InitializeAllTargets on every path where we might query the
TargetRegistry. This fixes PR4604.
* flush the formatted_raw_ostream& or else not all of the assembly will make
it to the .s file. (It doesn't do this in its destructor?!)
* Due to a reversed conditional, libLTO was reporting many symbols as both
defined and undefined, including two definitions of the same symbol name
in its symbol list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77170 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
0 files changed, 0 insertions, 0 deletions