diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2014-04-08 02:15:13 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2014-04-08 02:15:13 +0000 |
| commit | 2424511b6f181fd85769fb4f1fdf4fea6f77cc0b (patch) | |
| tree | 77b28685d7037173588edf2b6a85d1e5805146ef /lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | ba1895c16d925f6ca252f6752c63ab00d94d1872 (diff) | |
| download | llvm-2424511b6f181fd85769fb4f1fdf4fea6f77cc0b.tar.gz llvm-2424511b6f181fd85769fb4f1fdf4fea6f77cc0b.tar.bz2 llvm-2424511b6f181fd85769fb4f1fdf4fea6f77cc0b.tar.xz | |
X86: Split the relocation selection up
Before, we would have conditional operators where one side of the
operator would be of type RelocationTypeAMD64 and the other is of type
RelocationTypeI386. GCC would noisly warn with -Wenum-compare
diagnostic.
Instead, refactor the code so it is more like the X86 ELF object writer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205752 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
