similar to: [LLVMdev] clang optimizer does not remove unused/uneeded variables(and accesses) from global scope

Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] clang optimizer does not remove unused/uneeded variables(and accesses) from global scope"

2012 Jul 05
0
[LLVMdev] clang optimizer does not remove unused/uneeded variables(and accesses) from global scope
On 2012-07-05 12:53, Dennis Luehring wrote: > addition to my last post: > http://groups.google.com/group/llvm-dev/browse_thread/thread/afd85c3f303ec2a9 > > i know that using static on my globals will remove them - no other > compilation unit can then extern the vars > > but my question is - in this closed szenario clang is "directly" > producing the exe -
2012 Jul 05
1
[LLVMdev] clang optimizer does not remove unused/uneeded variables(and accesses) from global scope
Hi Dimitry, On 05/07/12 13:30, Dimitry Andric wrote: > On 2012-07-05 12:53, Dennis Luehring wrote: >> addition to my last post: >> http://groups.google.com/group/llvm-dev/browse_thread/thread/afd85c3f303ec2a9 >> >> i know that using static on my globals will remove them - no other >> compilation unit can then extern the vars >> >> but my question is -
2012 Jul 05
0
[LLVMdev] clang optimizer does not remove unused/uneeded variables(and accesses) from global scope
hi llvmdev list im currently investigating a missing optimizer feature in VS2010 - and comparing the VS2010 results with the result of clang 3.1 i've downloaded clang from http://llvm.org/releases/download.html -> Experimental Clang Binaries for Mingw32/x86 clang --version clang version 3.1 (branches/release_31) Target: i686-pc-mingw32 Thread model: posix ----- test.c typedef
2018 Nov 14
2
Building LLVM with VisualStudio 2017
Hey Bjorn, Were you able to figure this out or is it still broken for you? Our scenario is a little bit different, but I have a theory as to what may be going wrong. What linker are you using when you compile your project with clang-cl? I am wondering whether the version of the linker and/or the libraries that you are using is too old in comparison to the one used for the clang compilation.
2012 Jan 26
1
lattice panels with grouped extra data as text?
I have a problem with including extra data in a lattice graphic. I am trying to put some calculated values in an extra column of a boxplot. A minimal example should show what I am trying to do: foo <- data.frame( Treatment=rnorm(1:12,2),
2014 Jul 23
4
[LLVMdev] the clang 3.5 loop optimizer seems to jump in unintentional for simple loops
the clang 3.5 loop optimizer seems to jump in unintentional for simple loops the very simple example ---- const int SIZE = 3; int the_func(int* p_array) { int dummy = 0; #if defined(ITER) for(int* p = &p_array[0]; p < &p_array[SIZE]; ++p) dummy += *p; #else for(int i = 0; i < SIZE; ++i) dummy += p_array[i]; #endif return dummy; } int main(int argc, char** argv) {
2005 Sep 23
1
chan_capi-cm-0.6: hangup is detected really late
Hi, the following szenario leads to a problem: I connect an CAPI channel to an AGI-Script per Manager API. This Agi script starts the MeetMe-Application. The Person on the Capi Channel is now able to speak with the other conferess in the MeetMe-Room. But if the CAPI channel hangs up, the busy tone is streamed into the MeetMe Room for several seconds, until the CAPI HANGUP-Signal is finally
2007 Feb 22
4
Possible to light up a LED on Snom phones?
Hi everybody! I've setup my dialplan so that if an extension dials *21*, that extension is added/removed as a queue member to a queue. (State toggled). But it would be great to get an "optical feedback" of that phone's state regarding the queue membership. Does someone know if it is possible to light up a LED under this szenario? Many thanks! Norbert
2009 Nov 13
2
Multihomed puppet-server Multidomain SSL Problem
Hello List, I have a problem with the CA on my Puppetmaster. This Puppetmaster is connected to different Networks with different sub domainnames. The Puppet clients connecting via different Interfaces. There is no routing between subnets. Only one subnet can connect successfully. This is because the subject in the Certificate is the name of this subnet. All other clients get: Could not
2017 Dec 20
1
Bricks not starting after restart node
Hello Gluster Community, I am using Gluster3.10 in a 2-Node-Szenario (with CentosOS7-machines). After restarting one of the nodes, sometimes one of these two phenomena occurs: 1. The brick process of a volume on the newly started node is no longer running 2. The Brick Process Is Running But The First Knot Still Believes He Can not Reach The Brick (Health info reported "Transport
2005 Aug 13
1
T.38 decoding
Hi, I searched a while about T.38 decoding, and learned about the bounty for T.38 support for asterisk and some softdecoders and some hardware de- and encoding T.38. Now I wonder, if there is already any (almost) ready to use solution for decoding of T.38 faxes? My szenario would be: - Receiving a SIP call (containing the T.38 fax) by my provider with my asterisk box. - asterisk would
2018 Aug 05
1
Uneeded ?
Looking in recent patch: Author: Richard W.M. Jones <rjones@redhat.com> Date: Fri Aug 3 12:00:01 2018 +0100 v2v: python_script: Use correct syntax for array slices in documentation. Fixes commit 3d4df397320e8e86932f0b0b4d100644eefc99b4. diff --git a/v2v/python_script.mli b/v2v/python_script.mli index e30917833..cf137b142 100644 --- a/v2v/python_script.mli +++
2011 Apr 10
1
iscsi-initiator-utils required in 5.6, loads uneeded modules
I just updated one of my virtual hosts to 5.6 and on rebooted I spotted an error about iscsi. Which surprised me, since I don't use iscsi. Yet there it is... % rpm -qf /etc/init.d/iscsi iscsi-initiator-utils-6.2.0.872-6.el5 And they're configured to start iscsi 0:off 1:off 2:off 3:on 4:on 5:on 6:off iscsid 0:off 1:off 2:off 3:on 4:on
2015 Mar 16
2
RequireSecuritySignature=1 and public share with guest not working
Due to security reasons smb signing has to be activated and this share between linux and windows is now dead. And I do not find the correct settings to do a public share in this szenario. It has to be public, because the linux is'nt allowed to join the domain and on the other way, the win-clients cannot leave their domains. And I think, just signing smb-messages should not speek against a
2015 May 06
2
[LLVMdev] Memory Allocation Optimized away with new by not with ::operator new
I’ve missed it. I did a quick search and the only thread I found is back from 2013. Could you please provide me with a link to the thread? François Fayard Founder & Consultant - Inside Loop Tel: +33 (0)6 01 44 06 93 <tel:+33%206%2001%2044%2006%2093> Web: www.insideloop.io <http://www.insideloop.io/> Twitter: @insideloop_io > On 06 May 2015, at 07:21, David Blaikie <dblaikie
2016 Dec 05
3
Clang Optimizer freaks out on "simple" goto code?
FYI found this example while reading: https://github.com/jameysharp/corrode/issues/30#issuecomment-231969365 and compared it with current gcc 6.2, clang 3.9 gcc 6.2 result is quite small - clang 3.9 produces much much more code for this example https://godbolt.org/g/uWxr8F is that a missing optimization opportunity or just wrong behavior of the optimizer?
2011 Jan 12
6
Dependency resolution for packages
Hi, I have a simple use case, but can''t get the dependency resolution to work on first run. This is not critical, but I want to understand what''s going on. Here''s the szenario: * puppet --version: 2.6.4 * on the bare system, I have vim 6.4 installed (no vim-base) * I first want to upgrade to the latest version in repo, which is 7.1, * and then install vim extensions for
2001 Oct 18
1
Patch for SSH-tunneling via HTTPS-proxy
Hi List, I have a szenario where I need to reach a host on the internet from a "firewalled" network but there is a HTTPS-proxy runnnig. As some people know you can tunnel all TCP-connections through this proxy because it can't decide if someone is really doing SSL or just Telnet to port 443 (or use SSH in our case). So I've written a patch for ssh to make it send the CONNECT
2018 Sep 19
4
CMake build of LLVM/clang with -DCMAKE_BUILD_TYPE=Release does not create release versions?
>because with that generator the CMAKE_BUILD_TYPE variable is ignored >because it is a "multi-configuration target". thanks for the link, is that a bug in the CMake configuration (or better not getting any warning) or is there just documentation missing? so i can use --config Debug or --config Release and get the correct results - i hope that works the build takes hours
2018 Sep 19
4
Can i reduce my clang/JIT app in size?
i want to integrate a C source JITer into my application but the resulting executables are too large is it possible to reduce the resulting libs/exe some way? current VS2017/svn build example: llvm-build\Release\bin\clang-interpreter.exe ~36MB for now (that can change later) - i want to jit simple c-code - no std library or something - x64 only - no deep/full architecture optimization needed -