Displaying 20 results from an estimated 6000 matches similar to: "[LLVMdev] how to stop a llvm thread"
2012 Jul 19
0
[LLVMdev] how to stop a llvm thread
Hi Duc,
> how can I safely stop a llvm thread, so that the thread can clean up. Using the
> WINAPI TerminateThread() is therefore not an alternative. I work with vs2010.
LLVM doesn't have any threads.
Ciao, Duncan.
2008 May 18
2
Pure win32-thread library?
Hi all,
Here''s my initial stab at a pure Ruby win32-thread library that doesn''t
work at all. I''m not sure how to pass the start address of the arguments
to the callback. I thought about Marshal, but you can''t marshal a proc.
BTW, the CreateThread method in windows-pr needs to be updated for this
to have any hope of success.
Any ideas?
Thanks,
Dan
#
2001 Aug 15
1
WineLib Warning?
When compiling the following line of code using WineLib 20010731
you get a warning message.
// generates a warning
CompareString(LOCALE_USER_DEFAULT, dwFlags, s1, -1, s2, -1);
These warning relates to the defines found in
include/winbase.h file where we have:
UINT WINAPI CompareStringA(DWORD,DWORD,LPCSTR,DWORD,LPCSTR,DWORD);
UINT WINAPI
2010 Sep 23
2
[LLVMdev] Visual Studio 2010 build warning & errors
here are a couple of patches to address some warnings
in Microsoft compilers, and a build error in vs2010 in particular
vs2010-errors.patch:
In SelectionDAGISel, std::pairs or pointers are being constructed using a 0
as an initializer causes an error inside the std::pair constructor. I think
changes to language in support of the nullptr keyword caused this break.
vs2010-warnings.patch:
This
2016 May 16
1
FLAC Visual Studio file tidy-up?
Orestes Zoupanos wrote:
> VS2015, considering it's quite recent and the Community Edition has a
> free-to-use-for-open-source license going on.
>
>>> Yup, into win32\VS2010 and VS2015.
>>
>> VS2015 or VS2005? Currently FLAC has 2 Visual Studio solutions: one
>> for VS2005
>> (and 2008) and another for VS2010 and all newer (2012, 2013, 2015...)
2013 Jan 09
2
[LLVMdev] Using C++'11 language features in LLVM itself
On Jan 9, 2013, at 3:03 AM, Óscar Fuentes <ofv at wanadoo.es> wrote:
> Chris Lattner <clattner at apple.com> writes:
>
>> Wow, requiring GCC 4.7 would be really aggressive, it was just
>> released in March 2012. Call me conservative, but I was thinking that
>> a reasonable GCC baseline would be GCC 4.4 or something (which is ~3.5
>> years old).
>
2010 Sep 23
4
[LLVMdev] Visual Studio 2010 build warning & errors
On Thu, Sep 23, 2010 at 4:04 AM, Michael Spencer <bigcheesegs at gmail.com>wrote:
> On Thu, Sep 23, 2010 at 2:40 AM, Nathan Jeffords
> <blunted2night at gmail.com> wrote:
> > here are a couple of patches to address some warnings
> > in Microsoft compilers, and a build error in vs2010 in particular
> > vs2010-errors.patch:
> > In SelectionDAGISel,
2010 Sep 23
0
[LLVMdev] Visual Studio 2010 build warning & errors
On Thu, Sep 23, 2010 at 2:40 AM, Nathan Jeffords
<blunted2night at gmail.com> wrote:
> here are a couple of patches to address some warnings
> in Microsoft compilers, and a build error in vs2010 in particular
> vs2010-errors.patch:
> In SelectionDAGISel, std::pairs or pointers are being constructed using a 0
> as an initializer causes an error inside the std::pair
2020 Jan 14
2
Compiler position at Kalray
Hi all,
Just to inform that we have an open position for a compiler engineer:
https://www.kalrayinc.com/compiler-engineer/
The position is in Grenoble, France.
Regards,
Sebastien
Sébastien Le Duc
CoreSW Team Manager
<http://www.kalray.eu/> kalray_logo
Kalray S.A.
<http://www.kalray.eu> www.kalray.eu
Phone : 06 84 43 07 00
sleduc at kalray.eu
Follow us
2015 Aug 29
2
Compilation error with MinGW
Hi all,
I'm hitting the same problem as in this[1] thread. I use release_37
branch on 64-bit Windows 7.
The problem is here:
#ifdef __MINGW32__
#include <imagehlp.h>
#else
#include <dbghelp.h>
#endif
<skip>
typedef BOOL (WINAPI
*fpEnumerateLoadedModules)(HANDLE,PENUMLOADED_MODULES_CALLBACK64,PVOID);
imagehlp.h doesn't define PENUMLOADED_MODULES_CALLBACK64 type.
I
2020 Jan 03
2
Legalizing vector types
Hi all,
I am working on a target that has support for v4i16 vectors, and no
support for v4i8 / v8i8 / v8i16
V4i8 is promoted to v4i16 which is nice
V8i16 is split to 2 x v4i16 which is nice as well
Now v8i8 is scalarized, which is not so nice.
Ideally I would like v8i8 to be first promoted to v8i16 then split to
2xv4i16 (or split to 2xV4i8 then promoted to 2xv4i16)
Is there a way to achieve
2010 Oct 20
0
[LLVMdev] MS VS2010 std implementation: "Cannot assign iterators to two different blocks!"
Hi Bob, was this issue resolved?
Ciao,
Duncan.
> When using MS VS2010 there is an issue with std:
>
> `SuccIterator` implements a partial assignment operator:
>
> inline const _Self &operator=(const _Self &I) {
>
> assert(Term == I.Term &&"Cannot assign iterators to two different blocks!");
>
> idx = I.idx;
>
> return *this;
>
> }
2010 Oct 21
1
[LLVMdev] MS VS2010 std implementation: "Cannot assign iterators to two different blocks!"
Michael,
Yes, while stepping through this VS2010 `std::swap` code, `_Move` did nothing, e.g.
////////////////////////////////////////////////////
void swap(_Ty& _Left, _Ty& _Right)
{ // exchange values stored at _Left and _Right
_Ty _Tmp = _Move(_Left);
_Left = _Move(_Right);
_Right = _Move(_Tmp);
}
////////////////////////////////////////////////////
was equivalent to:
2002 Apr 04
1
Filesystem security stuff
Dear all,
I am planning to add some cryptographic properties (file encryption and digital signature on file I/O) to Linux filesystem. In detail, I want that user can do file I/O with encrypted files like he used to do with usual file except some minor changes (e.g. supply key for decrypting file). For digital signature, all read and write acts on file of any user must be signed and recorded so
2012 Aug 16
1
[LLVMdev] Question on C++ code completion - function parameter list
Hello,
Using c-index-test.exe I'm learning clang code completion for C++.
I have an issue to get the current parameter list of a C++ function. While it works for a C function, I get nothing which can be evaluated in case of C++ function.
I use the following command line:
"c-index-test -code-completion-at=x.cpp:9:10 -x c++ -fsyntax-only -x.cpp"
Where:
- "9:10" is
2015 Aug 30
3
Compilation error with MinGW
I use the one from mingw.org, installed by the recommended way with
mingw-get-setup.exe.
Sly.
On 30.08.2015 06:10, Yaron Keren wrote:
> Which mingw distribution exactly do you use?
>
> 2015-08-30 0:46 GMT+03:00 Slycelote via llvm-dev <llvm-dev at lists.llvm.org>:
>
>> Hi all,
>>
>> I'm hitting the same problem as in this[1] thread. I use release_37
2013 Aug 29
5
[PATCH 1/6] Rationalise whitespace to 4 space indentation with no trailing spaces
RHSrvAny.c was using a mixture of 4 space indentation, and tabs with a width of
4. This commit rationalises the whitespace to use only 4 space indentation, and
removes trailing whitespace.
---
RHSrvAny/RHSrvAny.c | 537 ++++++++++++++++++++++++++--------------------------
RHSrvAny/RHSrvAny.h | 1 -
RHSrvAny/resource.h | 2 +-
3 files changed, 269 insertions(+), 271 deletions(-)
diff --git
2010 Oct 05
4
[LLVMdev] MS VS2010 std implementation: "Cannot assign iterators to two different blocks!"
When using MS VS2010 there is an issue with std:
`SuccIterator` implements a partial assignment operator:
inline const _Self &operator=(const _Self &I) {
assert(Term == I.Term &&"Cannot assign iterators to two different
blocks!");
idx = I.idx;
return *this;
}
For copy construction, MS VS2010 std reserves the right, and sometimes
calls,
a
2010 Sep 25
0
[LLVMdev] Visual Studio 2010 build warning & errors
Note: static_cast<bool> doesn't make the warning go away or did you check
that? I just compiled a small test and it didn't work. The recommended
solution is:
(expression) != 0
http://msdn.microsoft.com/en-us/library/b6801kcy.aspx
It even says: Casting the expression to type bool will not disable the
warning, which is by design.
On Thu, Sep 23, 2010 at 9:18 AM, Nathan Jeffords
2010 Oct 21
0
[LLVMdev] MS VS2010 std implementation: "Cannot assign iterators to two different blocks!"
On Mon, Oct 4, 2010 at 9:52 PM, Bob Floyd <bobfloyd at comcast.net> wrote:
> When using MS VS2010 there is an issue with std:
>
>
>
> `SuccIterator` implements a partial assignment operator:
>
>
>
> inline const _Self &operator=(const _Self &I) {
>
> assert(Term == I.Term &&"Cannot assign iterators to two different
>