Displaying 4 results from an estimated 4 matches for "errorortest".
Did you mean:
errortest
2013 Oct 07
0
[LLVMdev] [lld] Verifying the Architecture of files read
...is associated with the target.
Exactly.
>
> 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 Foru...
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
2015 May 28
0
[LLVMdev] Test failure
...Tests/ErrorOr.Comparison' FAILED
********************
Note: Google Test filter = ErrorOr.Comparison
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from ErrorOr
[ RUN ] ErrorOr.Comparison
~/workspace/LLVM/llvm/unittests/Support/ErrorOrTest.cpp:71: Failure
Value of: std::errc::no_such_file_or_directory
Actual: 4-byte object <02-00 00-00>
Expected: x
Which is: 24-byte object <02-00 00-00 00-00 00-00 30-8D 96-9D B3-7F
00-00 91-D9 F9-00 00-00 00-00>
[ FAILED ] ErrorOr.Comparison (1 ms)
[----------] 1 test from ErrorOr (1...
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...Unit test Utils (without symbols)
make[3]: Leaving directory '/home/NIKHILREDDY/WORK/LLVM_OBJ/unittests/Transforms/Utils'
make[2]: Leaving directory '/home/NIKHILREDDY/WORK/LLVM_OBJ/unittests/Transforms'
llvm[2]: Compiling EndianTest.cpp for Release+Asserts build
llvm[2]: Compiling ErrorOrTest.cpp for Release+Asserts build
llvm[2]: Compiling ilistTest.cpp for Release+Asserts build
llvm[2]: Compiling FileOutputBufferTest.cpp for Release+Asserts build
llvm[2]: Compiling IteratorTest.cpp for Release+Asserts build
llvm[2]: Compiling LEB128Test.cpp for Release+Asserts build
llvm[2]: Compiling...