Displaying 3 results from an estimated 3 matches for "arrayreftest".
2016 Aug 24
2
Pointer to temporary issue in ArrayRefTest.InitializerList
Hi all-
I am mostly doing work in Clang (and am new there), so I apologize if this isn't the proper place to mention this. I appreciate guidance in advance.
I was looking into some of the unit tests, and noticed that the ArrayRefTest.InitializerList, and thus the InitializerList constructor of ArrayRef (under normal use-case) hit undefined behavior. The test does the following:
ArrayRef<int> A = { 0, 1, 2, 3, 4 };
for (int i = 0; i < 5; ++i)
EXPECT_EQ(i, A[i]);
For those unfamiliar, ArrayRef is a T* Data/size...
2016 Aug 24
2
Pointer to temporary issue in ArrayRefTest.InitializerList
...efully this is clear enough.
-----Original Message-----
From: mehdi.amini at apple.com [mailto:mehdi.amini at apple.com]
Sent: Wednesday, August 24, 2016 10:55 AM
To: Keane, Erich <erich.keane at intel.com>
Cc: llvm-dev at lists.llvm.org
Subject: Re: [llvm-dev] Pointer to temporary issue in ArrayRefTest.InitializerList
> On Aug 24, 2016, at 10:48 AM, Keane, Erich via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi all-
> I am mostly doing work in Clang (and am new there), so I apologize if this isn't the proper place to mention this. I appreciate guidance in advance....
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...directory '/home/NIKHILREDDY/WORK/LLVM_OBJ/unittests/Bitcode'
llvm[2]: Compiling APSIntTest.cpp for Release+Asserts build
llvm[2]: Compiling MixedTBAATest.cpp for Release+Asserts build
make[2]: Entering directory '/home/NIKHILREDDY/WORK/LLVM_OBJ/unittests/CodeGen'
llvm[2]: Compiling ArrayRefTest.cpp for Release+Asserts build
llvm[2]: Compiling DIEHashTest.cpp for Release+Asserts build
make[2]: Entering directory '/home/NIKHILREDDY/WORK/LLVM_OBJ/unittests/DebugInfo'
make[3]: Entering directory '/home/NIKHILREDDY/WORK/LLVM_OBJ/unittests/DebugInfo/DWARF'
llvm[3]: Compiling DWA...