Displaying 2 results from an estimated 2 matches for "c137cf7e".
2013 Dec 03
0
[LLVMdev] Reporting errors when applying fixups
Matheus,
The ARM backend reports these kinds of errors using FatalError method of
MCContext. You can see some examples in ARMAsmBackend.cpp (search for "out
of range pc-relative fixup value").
-David
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
Behalf Of Matheus Almeida
Sent: Tuesday, December 03, 2013 5:37 AM
To: llvmdev at cs.uiuc.edu
2013 Dec 03
2
[LLVMdev] Reporting errors when applying fixups
For a target that hasn't implemented branch relaxation (yet), does anyone know what is the preferred way to report an error if a fixup cannot be applied because, for example, the destination of a branch is out of range?
I suppose I could use asserts just like AArch64 is doing but that won't stop the assembler of emitting a branch to an undesired location in release builds.
Does anyone see