Displaying 4 results from an estimated 4 matches for "applyfixupfinal".
2018 Jul 10
2
lld/mach-o x86_64 asserts
On LLD mach/o x86_64 LLD calls dataInCodeTransitionStart and dataInCodeTransitionEnd, which aren't implemented (and thus return the defautl value 0), later in applyFixupFinal it reaches the default: unreachable causing miscompiles depending on the optimizer.
Attached is a simple patch that fixes this.
It also fixes the read8 method, as object files inside .a files aren't 8 byte aligned when memory mapped.
-------------- next part --------------
An embedded and ch...
2018 Jul 11
2
lld/mach-o x86_64 asserts
...On Tue, Jul 10, 2018 at 3:40 AM, Carlo Kok via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> On LLD mach/o x86_64 LLD calls dataInCodeTransitionStart and
>> dataInCodeTransitionEnd, which aren't implemented (and thus return the
>> defautl value 0), later in applyFixupFinal it reaches the default:
>> unreachable causing miscompiles depending on the optimizer.
>>
>> Attached is a simple patch that fixes this.
>>
>> It also fixes the read8 method, as object files inside .a files aren't 8
>> byte aligned when memory mapped.
>>...
2017 Dec 01
2
[Release-testers] 5.0.1-rc2 has been tagged
...b/ReaderWriter/MachO/ArchHandler_x86_64.cpp
b/deps/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp
index d687ca5d..07958da4 100644
--- a/deps/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp
+++ b/deps/lld/lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp
@@ -617,7 +617,6 @@ void ArchHandler_x86_64::applyFixupFinal(
// Fall into llvm_unreachable().
break;
}
- llvm_unreachable("invalid x86_64 Reference Kind");
}
void ArchHandler_x86_64::applyFixupRelocatable(const Reference &ref,
commit fa45407e78c7a20281bf063f659d74f86c127ea1
Author: Andrew Kelley <superjoe30 at gmail.com&g...
2017 Nov 30
9
5.0.1-rc2 has been tagged
Hi,
I've tagged the 5.0.1-rc2 release, go ahead and start testing and report
your results.
-Tom