similar to: [LLVMdev] Fwd: Re: Adding an attribute to clang

Displaying 20 results from an estimated 11000 matches similar to: "[LLVMdev] Fwd: Re: Adding an attribute to clang"

2019 Jan 23
3
option similar to -finstrument-functions but for code blocks
Hi, I'd like to track not just at the function level, but also at the code block level. For example, for a if-else statement, I want to know when the if-branch or else-branch is enter/exit. Is there a clang option similar to -finstrument-functions for code blocks? Alternatively, I could manually insert the code to the IR .ll file. I see the generated .ll use the following function when
2016 Dec 19
1
Reining in profile instrumentation
Thanks Vedant, and my apologies for the delay getting back to you - work got "busy". I wasn't aware of the '-fprofile-generate' option, so thanks for point this out. I have tried running it and I can see the instrumentation hooks that it generates - I assume that there is a library I have to implement to support this, can you let me know where the source for this library
2016 Jun 27
2
The state of IRPGO (3 remaining work items)
On Fri, Jun 24, 2016 at 1:44 AM Eric Christopher via llvm-dev < llvm-dev at lists.llvm.org> wrote: > > > On Thu, Jun 2, 2016, 6:41 PM Xinliang David Li via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> >> Sounds fine to me, though I am not a fan of using unstable in the option. >> I think a more meaningful way (that capture the essence of the
2016 Jun 27
0
The state of IRPGO (3 remaining work items)
There is some misunderstanding about the intention of this flag. The purpose of the flag is not to turn on profile instrumentation (which already has -fprofile-instr-generate or -fprofile-generate for it), but to select which instrumentors to use for PGO (IR or FE). I prefer fewer flags too, but sharing flags for completely different purpose does not seem like the right thing to do. David On
2019 Jan 19
2
[RFC] Order File Instrumentation
On Fri, Jan 18, 2019 at 9:10 PM Manman Ren <manman.ren at gmail.com> wrote: > > > On Fri, Jan 18, 2019 at 4:11 PM Xinliang David Li <davidxl at google.com> > wrote: > >> >> >> On Fri, Jan 18, 2019 at 3:56 PM Manman Ren <manman.ren at gmail.com> wrote: >> >>> Some background information first, then a quick summary of what we have
2019 Jan 19
3
[RFC] Order File Instrumentation
On Fri, Jan 18, 2019 at 3:56 PM Manman Ren <manman.ren at gmail.com> wrote: > Some background information first, then a quick summary of what we have > discussed so far! > > Background: Facebook app is one of the biggest iOS apps. Because of this, > we want the instrumentation to be as lightweight as possible in terms of > binary size, profile data size, and runtime
2016 Jun 27
0
The state of IRPGO (3 remaining work items)
On Sun, Jun 26, 2016 at 10:21 PM, Dean Michael Berris <dberris at google.com> wrote: > > > On Mon, Jun 27, 2016 at 2:53 PM Xinliang David Li <davidxl at google.com> > wrote: > >> There is some misunderstanding about the intention of this flag. The >> purpose of the flag is not to turn on profile instrumentation (which >> already has
2016 Jun 27
2
The state of IRPGO (3 remaining work items)
On Mon, Jun 27, 2016 at 2:53 PM Xinliang David Li <davidxl at google.com> wrote: > There is some misunderstanding about the intention of this flag. The > purpose of the flag is not to turn on profile instrumentation (which > already has -fprofile-instr-generate or -fprofile-generate for it), but to > select which instrumentors to use for PGO (IR or FE). I prefer fewer flags
2019 Jan 18
2
[RFC] Order File Instrumentation
I would love to see this kind of order profiling support. Using dtrace to generate function orders is actually really problematic because dtrace made tradeoffs in implementation allowing it to ignore probe execution if the performance impact is too great on the system. This can result in dtrace being non-deterministic which is not ideal for generating optimization data. Additionally if order
2011 Aug 16
1
[PATCH] hivexml: Add root attribute to the root node
New feature: If the root node of the XML root is the hive root node, denote with attribute/value root="1". Signed-off-by: Alex Nelson <ajnelson at cs.ucsc.edu> --- xml/hivexml.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/xml/hivexml.c b/xml/hivexml.c index 2967ac9..f29c80c 100644 --- a/xml/hivexml.c +++ b/xml/hivexml.c @@ -204,6 +204,10 @@
2009 Sep 09
1
iwl4965 causes soft lockups
Hi all, Annoying issue.. my ThinkPad T61 has an iwl4965 wireless card. When I have the wireless switch on, I experience a lot of issues.. system keeps freezing..unfreezing..freezing..etc. Sometimes, a soft lockup is logged to /var/log/messages. psmouse.c also sometimes throws an error saying the mouse lost synchronization. Obviously, this is causing the system to freeze for a sec and
2016 Dec 13
2
Reining in profile instrumentation
When either '-pg' or '-finstrument-functions' is used, the compiler inserts the appropriate profiling hooks. This happens prior to inlining, so the hooks remain in place. Normally this is fine, but with C++ and the heavy use of inline functions and templates, there can be a vast number of trivial functions that are normally optimised away; but with the instrumentation hooks
2016 Dec 13
0
Reining in profile instrumentation
> On Dec 13, 2016, at 3:46 AM, Martin J. O'Riordan via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > When either ‘-pg’ or ‘-finstrument-functions’ is used, the compiler inserts the appropriate profiling hooks. This happens prior to inlining, so the hooks remain in place. Have you tried compiling with -fprofile-generate? It enables IR-based profiling instrumentation, which
2018 Nov 05
2
[Bug 1289] New: iptables build fails with kernel 4.20-rc1 - gnu_inline attributes
https://bugzilla.netfilter.org/show_bug.cgi?id=1289 Bug ID: 1289 Summary: iptables build fails with kernel 4.20-rc1 - gnu_inline attributes Product: iptables Version: unspecified Hardware: x86_64 OS: Ubuntu Status: NEW Severity: normal Priority: P5 Component:
2008 Nov 02
2
[LLVMdev] clang (was Re: 2.4 Pre-release (v2))
Dixi quod… >A checkout of clang r58548 does not build with the prerelease, >seems to require a newer version of llvm-current. However, clang r58565 does not build with llvm r58565 either: llvm[4]: Compiling BasicConstraintManager.cpp for Release-Asserts build mpcxx -I/usr/ports/lang/llvm/w-llvm-58565-0/llvm/include -I/usr/ports/lang/llvm/w-llvm-58565-0/llvm/tools/clang/lib/Analysis
2001 Nov 20
0
Release 2.2.2 Performance
Hi , Recently upgraded from 2.0.6 to 2.2.2 Samba runs on an E4000 using Solaris 7 ver 11/99 32 bit When installing VB apps on client boxes under NT 4 service pack 6A the installation stalls for 60 secs after 34% & then completes. For users who have Windows 2000 installed there is no problem. Also under the previous Samba version there were no problems installing for either NT or 2000
2001 Oct 29
1
Release 2.2.2
Hi , Downloaded the source on Friday 26th Hardware :- SUN E4000 O/S :- Solaris 7 11/99 32bit C compiler :- Sun WorkShop ver 5 32bit The configure went O.K. The make failed in compiling nsswitch/winbind_nss.c with -KPIC Error messages as follows nsswitch/winbind_nss.c : warning : argument #4 is incompatible with prototype prototype: pointer to int : "nsswitch/winbind_nss.c",
2023 Mar 17
0
[PATCH RFC v2 virtio 7/7] pds_vdpa: pds_vdps.rst and Kconfig
On Thu, Mar 16, 2023 at 11:25?AM Shannon Nelson <shannon.nelson at amd.com> wrote: > > On 3/15/23 12:05 AM, Jason Wang wrote: > > On Thu, Mar 9, 2023 at 9:31?AM Shannon Nelson <shannon.nelson at amd.com> wrote: > >> > >> Add the documentation and Kconfig entry for pds_vdpa driver. > >> > >> Signed-off-by: Shannon Nelson <shannon.nelson
2019 Jun 06
2
clang: error: linker command failed due to signal (use -v to see invocation)
~/Documents/llvm-project/build$ ninja After over 2,000 files compiled. [25/1074] Linking CXX executable bin/llvm-lto FAILED: bin/llvm-lto : && /usr/bin/clang++  -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long
2006 Jan 19
0
Problem with an Tree-like object hierarchy (ActiveRecord acts_as_tree)
Hello people on rails, I am developing a web interface for a database that has hierarchical data. I want the user to be able to browse the tree (~1300 nodes) and activate/deactivate and showing/hiding groups of nodes (like selecting one node selects all the children and the leafs). So I have a tree of objects (ActiveRecord acts_as_tree). Because I need the tree to be persistent and I