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 | fd6a2498ab081a838354ecde07b540b9d071abc8 (patch) | |
| tree | b2cd9db2f46a063b162dbee8c533087ec2caf3fe /llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp | |
| parent | bcd92f1bc45dd6579a126e55c8c6f92e055c4826 (diff) | |
| download | bcm5719-llvm-fd6a2498ab081a838354ecde07b540b9d071abc8.tar.gz bcm5719-llvm-fd6a2498ab081a838354ecde07b540b9d071abc8.zip | |
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.
llvm-svn: 77170
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT/TargetSelect.cpp')
0 files changed, 0 insertions, 0 deletions

