Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] MSVC Debug Visualizers for LLVM custom data structure."
2020 Jan 22
3
Crash in SmallVector with latest MSVC 2019 (debug mode)
Is anybody using the LLVM/clang/lldb compiled with the MSVC 2019
(x86-32bit) successfully?
I am getting crash in SmallVector at multiple places after a
llvm:SmallVector is being moved around in move constructor or move
operator=.
Not sure what is going on.
~SmallVectorImpl() {
if (!this->isSmall())
free(this->begin()); // <=== crash here, line 336 SmallVector.h
}
The
2010 Dec 31
2
[LLVMdev] LLVM on Windows MSVC 10
2010/12/31 Francois Pichet <pichet2000 at gmail.com>:
> I don't normally build using nmake.. but I just tried and it worked 100%
> here.
> Are you sure you are using the trunk?
>
> On Fri, Dec 31, 2010 at 7:32 AM, Ruben Van Boxem <vanboxem.ruben at gmail.com>
> wrote:
>>
>> I first sent this to the Clang dev list, but they told me to come here:
2010 Dec 31
0
[LLVMdev] LLVM on Windows MSVC 10
I don't normally build using nmake.. but I just tried and it worked 100%
here.
Are you sure you are using the trunk?
On Fri, Dec 31, 2010 at 7:32 AM, Ruben Van Boxem
<vanboxem.ruben at gmail.com>wrote:
> I first sent this to the Clang dev list, but they told me to come here:
>
>
> ---------- Forwarded message ----------
> From: Ruben Van Boxem <vanboxem.ruben at
2010 Dec 31
2
[LLVMdev] LLVM on Windows MSVC 10
I first sent this to the Clang dev list, but they told me to come here:
---------- Forwarded message ----------
From: Ruben Van Boxem <vanboxem.ruben at gmail.com>
Date: 2010/12/31
Subject: LLVM on Windows MSVC 10
To: cfe-dev at cs.uiuc.edu
Hi,
I'm trying to build svn LLVM with Visual Studio 2010:
cd build
cmake .. -G"NMake Makefiles"
nmake
and several link steps fail
2016 Dec 20
0
GDB pretty printers for LLVM ADTs
Dandy :)
I looked into ways to do this for the GDB visualizers - but was unable to
come up with a totally automated solution, unfortunately.
On Tue, Dec 20, 2016 at 9:51 AM Yaron Keren <yaron.keren at gmail.com> wrote:
> The VC visualizers are automatcially installed.
>
>
> 2016-12-20 19:45 GMT+02:00 David Blaikie via llvm-dev <
> llvm-dev at lists.llvm.org>:
>
2015 Mar 09
2
[LLVMdev] LLVM 3.6: problems building on Windows using MSVC 2013
Sorry, I am using CMake+JOM or CMake+Ninja, if Ninja is available on the developer’s machine. Either way, it fails in both cases with a message similar to the one I included below (which was obtained using CMake+Ninja).
Just in case, my (current) CMakeLists.txt file can be found at here
2015 Mar 09
2
[LLVMdev] LLVM 3.6: problems building on Windows using MSVC 2013
Hi,
I have been using LLVM+Clang in my project for some time and it has been
working just fine up to now (I am currently using version 3.5.1).
However, with version 3.6 having just been released, I thought I would give
it a try and update my code to use MCJIT rather than the now discontinued
JIT. Well, this proved to be a relatively smooth process, and everything is
now working fine on
2016 Dec 20
2
GDB pretty printers for LLVM ADTs
The VC visualizers are automatcially installed.
2016-12-20 19:45 GMT+02:00 David Blaikie via llvm-dev <
llvm-dev at lists.llvm.org>:
> Added something in r290186.
>
> Say, Reid - do you know anything about the MSVC formatters that are also
> provided in LLVM? Perhaps you could add a brief bit of documentation about
> them, if they need an explicit wiring up (if they just
2016 Dec 20
1
GDB pretty printers for LLVM ADTs
> On Dec 20, 2016, at 9:55 AM, David Blaikie via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Dandy :)
>
> I looked into ways to do this for the GDB visualizers - but was unable to come up with a totally automated solution, unfortunately.
I've wanted the same. Best I could think of was to embed them (or a reference to them) in the binary for the debugger to look at.
2010 Oct 14
2
[LLVMdev] LLVM use of C++ exceptions and RTTI
On Thu, Oct 14, 2010 at 4:09 PM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Francois,
>
>> In that case, RTTI and exception should also be disabled from CMake
>> generated projects right?
>> Currently they are enabled all over my MSVC projects.
>
> I'm not sure what you are asking. The goal is for LLVM to not require
> RTTI or exception handling.
2016 May 11
3
[LLVMdev] Improving the quality of debug locations / DbgValueHistoryCalculator
The most obvious place where it is lacking at the moment is that it only supports DBG_VALUEs in registers. Adding support for constant values, memory locations, and fp constants would be a big win!
thanks,
Adrian
> On May 11, 2016, at 2:52 PM, Francois Pichet <pichet2000 at gmail.com> wrote:
>
> In retrospect I totally agree with you. I am looking at LiveDebugValue again to see
2016 May 12
2
[LLVMdev] Improving the quality of debug locations / DbgValueHistoryCalculator
> On May 12, 2016, at 11:00 AM, Francois Pichet <pichet2000 at gmail.com> wrote:
>
> Here is a specific case that make the debugging experiences degraded on my target:
> This is a loop simplified CFG:
>
> BB#0:
> %R5<def> = OR_rr %R0, %R49 // this is %R5 only def.
> DBG_VALUE %R5, %noreg, !"argc", <!18>; line no:4
> Successors
2016 May 11
2
[LLVMdev] Improving the quality of debug locations / DbgValueHistoryCalculator
> On May 11, 2016, at 2:09 PM, Francois Pichet <pichet2000 at gmail.com> wrote:
>
> Good point.
>
> Currently yes a DEBUG_VALUE "x", vreg0 will be added in BB2. Now I realize this might be wrong in some (corner?) cases where vreg0 no longer refer to "x"
>
> My fix would be to propagate the DEBUG_VALUE only if "x" is associated with only a
2011 Nov 08
0
[LLVMdev] VS2005 compatibility
Hi Francois,
I have all licensed versions of VS at my disposal (the benefits of being a former MS employee) but I'm currently using VS2005 due to specific technical reasons that I can't disclose.
The "Getting Started" page states support of 2005 SP1 which, if it's not being maintained, is not true and should be updated.
Cheers,
- Don
----- Original Message -----
From:
2007 Nov 12
1
[LLVMdev] MSVC 8 Build
Hi,
I had to add an include statement for the math header to
LiveIntervalAnalysis.h to get it to compile today e.g
#ifndef LLVM_CODEGEN_LIVEINTERVAL_ANALYSIS_H
#define LLVM_CODEGEN_LIVEINTERVAL_ANALYSIS_H
#include <math.h>
It seems then to work without failures; odd.
However, the deprecation warnings are not suppressed for std::_Uninit_Copy
and std::_Copy_Opt (warning 4996) in xutility
2016 May 11
2
[LLVMdev] Improving the quality of debug locations / DbgValueHistoryCalculator
> On May 11, 2016, at 1:12 PM, Francois Pichet <pichet2000 at gmail.com> wrote:
>
> Hello,
>
> Regarding the problem of debug range for optimized code.
> Currently a DEBUG_VALUE will be inserted after the <def>vregX
> DEBUG_VALUE are only valid until the end of the current MachineBasicBlock. That's the main problem.
> Why not simply iterate over all uses
2011 Nov 08
2
[LLVMdev] VS2005 compatibility
On Tue, Nov 8, 2011 at 8:02 AM, Don Williamson <don.williamson at yahoo.com> wrote:
>
>
> OK, it's not that bad - it's even better than before :)
>
> The main issue is RWMutex.inc and the use of PSRWLOCK. This requires _WIN32_WINNT to be >= 0x0600, which is not true for VS2005 SP1.
>
> Rather than #define _WIN32_WINNT 0x0600 (the file notes that this should
2016 Jun 01
1
GDB pretty printers for LLVM ADTs
In r271357 I've committed GDB pretty printer script for the following types
- ArrayRef
$1 = llvm::ArrayRef of length 3 = {1, 0, 7}
- StringRef
$2 = "foo\000bar"
$3 = "fo"
- SmallString
$4 = "foo\000bar"
- *SmallVector(Impl)*
$5 = llvm::SmallVector of length 3, capacity 3 = {1, 0, 7}
All of these visualizers are pretty simple, robust,
2016 Dec 20
0
GDB pretty printers for LLVM ADTs
Added something in r290186.
Say, Reid - do you know anything about the MSVC formatters that are also
provided in LLVM? Perhaps you could add a brief bit of documentation about
them, if they need an explicit wiring up (if they just come for
free/automatically - might not be worth documenting, people will find it
when they need it) or point this thread to someone who knows about them to
provide
2009 May 12
1
[LLVMdev] MSVC cstdint
In the llvm file include/llvm/Support/DataTypes.h (.in/.cmake), for
MSVCit defines some macros that are defined in the cstdint.hpp file in
boost (and boost does it better, detailed below):
The basic error is:
R:\SDKs\boost\built_head\include\boost-1_38\boost/cstdint.hpp(347) :
warning C4005: 'INT8_C' : macro redefinition