search for: archmismatch

Displaying 2 results from an estimated 2 matches for "archmismatch".

2013 Oct 07
0
[LLVMdev] [lld] Verifying the Architecture of files read
...gt; > Specifically this would be a good place to use the user data part of >> ErrorOr to specify what was expected and what was received. >> > Couldnt follow this. Can you elaborate ? ErrorOr supports user data. See unittests/Support/ErrorOrTest.cpp. It would simply be: return ArchMismatch(expected, actual); Then an error handler higher up can extract that to form a proper error message. - Michael Spencer > > > Thanks > > Shankar Easwaran > > -- > Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted > by the Linux Foundation > &g...
2013 Oct 07
2
[LLVMdev] [lld] Verifying the Architecture of files read
On 10/4/2013 11:16 PM, Michael Spencer wrote: > On Fri, Oct 4, 2013 at 8:50 PM, Shankar Easwaran <shankare at codeaurora.org>wrote: > >> Hi, >> >> It is needed that lld verifies the input to the linker. >> >> For example : a x86 ELF file can be given to lld when the target is >> x86_64. Similiarly with other flavors. >> >> I was thinking