Skip to content
Commit 8a40a7b1 authored by Peter Collingbourne's avatar Peter Collingbourne
Browse files

COFF: When generating code for LTO, use static reloc model on 32-bit x86.

Fixes PR34306.

This is because it usually results in more compact code, and because
there are also known code generation bugs when using the PIC model
(see bug).

Based on a patch by Carlo Kok.

Differential Revision: https://reviews.llvm.org/D38769

llvm-svn: 315400
parent 85b1da1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment