diff options
| author | Pete Cooper <peter_cooper@apple.com> | 2016-03-23 18:00:10 +0000 |
|---|---|---|
| committer | Pete Cooper <peter_cooper@apple.com> | 2016-03-23 18:00:10 +0000 |
| commit | e82f3a099fa5c3b81eca29c4d5d0ce9ae4cdd923 (patch) | |
| tree | 0f0ced56f1410a8865ed0d2ca8e0225262287946 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | f20a55fcfd033e7a171bcdefa7e92fc758975fe4 (diff) | |
Copy MachO struct to temporary to avoid unaligned load UB.
We were already copying this data to a temporary for endian swaps. Now
we just always copy it, but still only do the endian swaps when needed.
llvm-svn: 264172
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
