Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] llc debug info"
2009 Dec 19
0
[LLVMdev] [PATCH] Implement dbgs()
On Dec 18, 2009, at 6:36 PM, David Greene wrote:
>>> +// Signal handlers - dump debug output on termination.
>>> +static void debug_user_sig_handler(void *Cookie)
>>> +{
>>> + llvm::circular_raw_ostream *logout =
>>> + dynamic_cast<llvm::circular_raw_ostream *>(&llvm::dbgs());
>>
>> Please do not use dynamic_cast, we're
2009 Dec 21
2
[LLVMdev] [PATCH] Implement dbgs()
On Saturday 19 December 2009 00:16, Chris Lattner wrote:
> > Or I think I can just assume (Yikes!) that if the signal handler is
> > invoked it will really be a circular_raw_ostream since the handler
> > should (!) only be set up in debug mode.
> >
> > That scares me a bit, though.
>
> Why don't you just check #ifndef NDEBUG like the code that sets it up?
2009 Dec 21
0
[LLVMdev] [PATCH] Implement dbgs()
On 2009-12-21 18:06, David Greene wrote:
> On Saturday 19 December 2009 00:16, Chris Lattner wrote:
>
>
>>> Or I think I can just assume (Yikes!) that if the signal handler is
>>> invoked it will really be a circular_raw_ostream since the handler
>>> should (!) only be set up in debug mode.
>>>
>>> That scares me a bit, though.
>>>
2009 Dec 19
3
[LLVMdev] [PATCH] Implement dbgs()
On Friday 18 December 2009 19:56, Chris Lattner wrote:
> > +// -debug-buffer-size - This is a command line op0tion to set the
> > size
> > +// of the debug stream circular buffer. The value is the number of
> > +// characters to save.
> > +static cl::opt<unsigned>
> > +DebugBufferSize("debug-buffer-size",
> > +
2015 Nov 02
2
Prefixing DEBUG messages with DEBUG_TYPE (was re: [PATCH] D13259: LLE 6/6: Add LoopLoadElimination pass)
Moving this discussion here from the review thread.
RIght now, we have a few passes that prefix DEBUG message with various
things, so folks using -debug can tell where the debug message came from.
But this is not consistent, and in fact, most passes don't do it.
Worse, the prefixes used do not often match the DEBUG_TYPE of the pass.
It would be nice to fix this, and just have the DEBUG
2014 Apr 24
4
[LLVMdev] writing an alias analysis pass?
Hi,
I'm attempting to do some alias analysis & other memory inspection. I've
written a pointless AliasAnalysis pass (that says everything must alias) to
attempt to verify that my pass is getting picked up & run by opt.
I run opt with: opt -load ~/Applications/llvm/lib/MustAA.so -must-aa
-aa-eval -debug < trace0.ll
I see my pass being initialized, but never being called (I see
2015 Nov 02
4
Prefixing DEBUG messages with DEBUG_TYPE (was re: [PATCH] D13259: LLE 6/6: Add LoopLoadElimination pass)
----- Original Message -----
> From: "Matthias Braun via llvm-dev" <llvm-dev at lists.llvm.org>
> To: "Daniel Berlin" <dberlin at dberlin.org>
> Cc: "llvm-dev" <llvm-dev at lists.llvm.org>
> Sent: Monday, November 2, 2015 1:16:18 PM
> Subject: Re: [llvm-dev] Prefixing DEBUG messages with DEBUG_TYPE (was re: [PATCH] D13259: LLE 6/6: Add
2019 Jan 13
2
Problem using BlockFrequencyInfo's getBlockProfileCount
Hey,
I am trying to use the BlockFrequencyInfoWrapperPass to obtain hotness
information in my LLVM pass. Attached is a minimal example of code which
creates a SIGSEGV. The pass calls
AU.addRequired<BlockFrequencyInfoWrapperPass>(); in
getAnalysisUsage(..). The problem exists with changed and unchanged IR.
The binary is instrumented like this: clang input.bc -fprofile-generate
-o
2017 Jun 08
4
DICompileUnit duplication in LLVM 4.0.0?
All,
I'm seeing duplication of DICompileUnits in a pass that worked in 3.8. I
assume I'm doing something wrong. Would someone be willing to point me in
the right direction?
The below minimized pass reproduces my issue in 4.0 with the following
error:
DICompileUnit not listed in llvm.dbg.cu
!1707 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1,
producer: "clang
2010 Jun 12
3
[LLVMdev] Win32 COFF Support
Here is a full patch including Nathan's COFF support, tests that pass
on Windows, and some changes to lit.
Obviously the COFF support and changes to lit should be separate
patches in the end.
http://codereview.appspot.com/1624043/show
- Michael Spencer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: COFF-support.patch
Type: application/octet-stream
Size:
2016 May 04
2
llvm dynamic execution trace
Hi Dean, thank you for the response!
I'm a newbie to LLVM, a student working on an LLVM project so I'm not quite
sure of what you're suggesting, please excuse my naivety.
To clarify there used to exist this
http://llvm.org/releases/1.0/docs/CommandGuide/lli.html where you could
type "lli -trace 'filename.bc' and you would get a dump of the dynamic
excutiion trace.
I
2010 Jun 14
2
[LLVMdev] Win32 COFF Support
Nathan, do you have any other changes? If not, I can make these
changes and have a patch ready this evening.
Sent from my iPhone
On Jun 14, 2010, at 2:16 PM, Chris Lattner <clattner at apple.com> wrote:
>
> On Jun 11, 2010, at 6:44 PM, Michael Spencer wrote:
>
>> Here is a full patch including Nathan's COFF support, tests that pass
>> on Windows, and some
2014 Apr 29
4
[LLVMdev] writing an alias analysis pass?
Hi Matthew,
Did you add your alias analysis pass initializeEverythingMustAliasPass() into llvm::initializeAnalysis(PassRegistry &Registry) {} ?
This will initialize it linked into the Analysis library.
thanks,
chen
On Apr 28, 2014, at 8:43 PM, Jingyue Wu <jingyue at google.com> wrote:
>
>
>
> On Thu, Apr 24, 2014 at 4:38 PM, Matthew O'Connor <thegreendragon at
2010 Jun 14
0
[LLVMdev] Win32 COFF Support
On Jun 11, 2010, at 6:44 PM, Michael Spencer wrote:
> Here is a full patch including Nathan's COFF support, tests that pass
> on Windows, and some changes to lit.
>
> Obviously the COFF support and changes to lit should be separate
> patches in the end.
>
> http://codereview.appspot.com/1624043/show
Hi Guys,
What is the status of this patch? Here are some comments on
2009 Dec 18
2
[LLVMdev] [PATCH] Implement dbgs()
Here's the patch to provide dbgs(). By default it works just like errs().
When -debug-buffer-size=N (N > 0) is set, it buffers output sent to it and
dumps it at program termination via a signal handler.
Please review. Thanks!
-Dave
Index: include/llvm/Support/Debug.h
===================================================================
---
2017 Jun 08
2
DICompileUnit duplication in LLVM 4.0.0?
Thank you. What I need to do to address this? Open an issue on bugs.llvm.org?
I'm not sure what the fix needs to be in the cloner.
On Thu, Jun 8, 2017 at 4:19 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:
> There have in the past been bugs in the cloner involving duplicate
> DICompileUnits (see e.g. https://reviews.llvm.org/D29240), this one may
> need a similar fix.
2011 Jun 16
1
[LLVMdev] ARM support status (GHC/ARM new calling convention)
On 06/16/11 11:00 PM, John McCall wrote:
> On Jun 16, 2011, at 1:35 PM, Karel Gardas wrote:
>> I'm working on implementing GHC specific call convention into LLVM
>> 2.9. I've chosen LLVM 2.9 as a kind of stable reference point and I
>> would like to know how mature is ARM code generation chain inside
>> this release. I've had a hope that perhaps Apple as a
2009 Dec 21
2
[LLVMdev] [PATCH] Implement dbgs()
On Monday 21 December 2009 10:14, Török Edwin wrote:
> On 2009-12-21 18:06, David Greene wrote:
> > On Saturday 19 December 2009 00:16, Chris Lattner wrote:
> >>> Or I think I can just assume (Yikes!) that if the signal handler is
> >>> invoked it will really be a circular_raw_ostream since the handler
> >>> should (!) only be set up in debug mode.
>
2017 Aug 22
5
[RFC] mir-canon: A new tool for canonicalizing MIR for cleaner diffing.
Patch for review.
On Mon, Aug 21, 2017 at 11:45 PM Puyan Lotfi <puyan.lotfi.llvm at gmail.com>
wrote:
> Ping.
>
> Still working on preparing code for review. Will have a patch for review
> ready in the coming days.
>
> PL
>
> On Tue, Aug 15, 2017 at 12:06 PM Puyan Lotfi <puyan.lotfi.llvm at gmail.com>
> wrote:
>
>> Hi,
>>
>>
>>
2012 Oct 17
2
[LLVMdev] Dminator set question
How can I get the dominator set for each basicblock in a function
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121017/ac55db64/attachment.html>