Displaying 20 results from an estimated 500 matches similar to: "Building libjpeg-turbo with LTO"
2020 Apr 09
3
Building libjpeg-turbo with LTO
Adding a couple of lld folks.
I helped Shishir debug this, the link line looked like:
/home/sjessu/build/bin/clang -O0 -flto -o jcstest jcstest.o
./.libs/libjpeg.a
and the issue was that libjpeg.a was created with the system ar instead of
llvm-ar. It worked when recreating libjpeg.a with llvm-ar.
I noticed that the lld code has some special handling for the case
when there is a missing
2020 Jun 09
3
Preventing function call from being optimized out in LTO
Hi David,
Sure! Here's a function in sqlite3 called verifyDbFile, compiled with -O3.
This is what it looks like when the intermediate bitcode is emitted by
clang: link <https://pastebin.com/L3PrK1ac>
And here's what happens after I run opt -O3 (no additional command-line
arguments) on the file containing this function: link
<https://pastebin.com/rZHBm2iU>.
I'm not 100%
2020 Jun 09
3
Preventing function call from being optimized out in LTO
Hi David,
By "dead" do you mean unreachable? My understanding was that the removal of
dead code is simply another optimization, which should be disabled after
adding "optnone" (and adding the function to llvm.used so the function
doesn't later get deleted entirely).
I am instrumenting certain basic blocks in an LLVM pass, and would like to
compile a binary which
2020 Jun 09
5
Preventing function call from being optimized out in LTO
Hello,
I am adding function calls to an LLVM link-time optimization (LTO) pass,
using the IRBuilder::CreateCall method. I want these calls to remain in the
final x86 binary at any optimization level, but on levels -O2 and -O3, some
of these calls are being optimized out.
So far, I've tried adding each function in the program (excluding LLVM
intrinsics) to the llvm.used set, and I've also
2020 Mar 16
2
Passing arguments to LLVM pass through Clang
Hello,
I am adding to an LLVM pass that requires a filename as input. I am able to
input this filename as a command line argument when I invoke this pass
using opt, but I ultimately need to pass this argument to my code when I
compile code with clang.
How can I pass this argument to clang so that I can use it in my LLVM pass?
Thanks for your help!
Best,
Shishir Jessu
-------------- next part
2019 Sep 30
3
Debugging LowerTypeTests in LLVM Using GDB
Hi,
I am looking into Control-Flow Integrity for indirect function calls,
implemented with jump tables. I want to step through the code that produces
these jump tables in GDB. I have built clang and opt from source with
debugging symbols. I believe this code lives in
llvm/lib/Transforms/LowerTypeTests.cpp, but when I try to debug *opt* by
running the command "run -lowertypetests cfi-icall.bc
2020 Jul 08
2
Extracting the !dbg property from LLVM IR function calls
Hello,
I am compiling a program with debugging information, and am attempting to
extract !dbg numbers from function calls in LLVM IR. However, I've found a
few inconsistencies. For example, this call exists in my module:
%1 = tail call i1 @llvm.type.test(i8* bitcast (i32 (i32)* @_Z5otheri to
i8*), metadata !"_ZTSFiiE") #5, *!dbg !69*, !nosanitize !2
I would like to extract the 69
2020 Apr 30
2
Discrepancy between Debug and Release+Asserts versions of Clang/LLVM
I agree that the ArrayRef is likely the issue. I've debugged a crash caused
by a temporary ArrayRef like that a couple times.
Either do what David suggested or use a normal array:
Metadata *mdArray[] = {ConstantInt::get(Int64Ty, 0), newMD};
~Craig
On Thu, Apr 30, 2020 at 9:56 AM David Blaikie via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
>
>
> On Thu, Apr 30, 2020 at
2018 Mar 31
1
using llvm DataFlowSanitizer error
Hi. I'm using llvm DataFlowSanitizer. I add such code in library libtiff.
dfsan_label lt_label = dfsan_create_label("buf_offset", 0);
dfsan_set_label(lt_label, (unsigned char *)buf, size);
But when i compile libtiff with "-fsanitize=dataflow" option, then there is an error as follows:
../libtiff/libtiff.so.5.2.5: undefined reference to `dfs$jbg_enc_init'
2019 Dec 03
2
Using different opt with clang
Hi,
I have made some changes in the LowerTypeTests Pass of opt, and would like
to use these changes with the clang version I have downloaded.
I compiled clang and llvm from scratch, made my changes in
LowerTypeTests.cpp, and recompiled clang and opt. When I run clang with the
appropriate flags to invoke the pass, it invokes the pass as originally
written, but when I run opt on the relevant
2020 Apr 30
2
Discrepancy between Debug and Release+Asserts versions of Clang/LLVM
Hello,
I am editing the LowerTypeTests pass in LLVM, and part of my additions
include the following 3 lines of code:
// newTypeName is a std::string
MDString* newMD = MDString::get(M.getContext(), newTypeName);
ArrayRef<Metadata*> mdArray {ConstantInt::get(Int64Ty, 0), newMD};
auto* node = MDTuple::get(M.getContext(), mdArray);
Thus far, I have been developing on a version of Clang with
2007 Oct 03
4
form_remote_tag :onsubmit not working.
Hi,
Has anyone successfully implemented the :onsubmit option for
form_remote_tag. It doesn''t seem to work for me. Is there any specific
version of rails which is required for the same.
Here''s my piece of code.
<script>
function set_tojid(){
alert(''onsubmit'');
}
</script>
<%= form_remote_tag :update => '''', :url => {
2013 Dec 10
0
CESA-2013:1803 Moderate CentOS 6 libjpeg-turbo Update
CentOS Errata and Security Advisory 2013:1803 Moderate
Upstream details at : https://rhn.redhat.com/errata/RHSA-2013-1803.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
i386:
1b2a598ac9baeccd782a2ea160f9e4d2da442577ee2c745d24f44da3fd275306 libjpeg-turbo-1.2.1-3.el6_5.i686.rpm
2018 Apr 01
0
using llvm DataFlowSanitizer error
On Sat, Mar 31, 2018 at 8:50 AM, 吕涛 via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Hi. I'm using llvm DataFlowSanitizer. I add such code in library libtiff.
>
> dfsan_label lt_label = dfsan_create_label("buf_offset", 0);
>
> dfsan_set_label(lt_label, (unsigned char *)buf, size);
>
> But when i compile libtiff with "-fsanitize=dataflow" option,
2009 Mar 06
3
hplip problems - configure: error: "cannot find libjpeg support"
I'm trying to get hplip-2.7.12 installed, and I'm reasonably sure that I had
it installed on this box before my problems last month. Anyway, it will not
build at the moment. It stops the Configure with "configure: error: "cannot
find libjpeg support". However,
Package libjpeg - 6b-37.i386 is already installed.
Similarly, attempting to install hplip-3.9.2 stops with
2006 Apr 19
1
AIX libjpeg still looms
Simon,
Did you get a chance to review your AIX configuration? I'd be
curious to know the differences with my own as while I have R installed,
I still get the error related to libjpeg.a.
Error in get(getOption("device"))() : X11 module cannot be loaded
In addition: Warning message:
unable to load shared library '/usr/local/R/lib/R/modules/R_X11.so':
Could not load module
2005 Sep 20
1
[3.5 Server] Problem with libjpeg.a or absence of
Hello CentOS,
I am trying to compile zoneminder which requires libjpeg.a I jave
libjpeg.so installed okay. Is there a package or do I have to
recompile the libjpeg package
Sean
--
+---------------------------------------------------+
|VOIP= FreeWorldDial: 689482 VOIPBUSTER: thecivvie |
|GPG Key http://thecivvie.fastmail.fm/thecivvie.asc |
2012 Jun 11
1
"mismatching layouts" flooding in the logs
I have the following appended to gluster logs at around 100kB of logs per second, on all 10 gluster servers:
[2012-06-11 15:08:15.729429] I [dht-layout.c:682:dht_layout_dir_mismatch] 0-sites-dht: subvol: sites-client-41; inode layout - 966367638 - 1002159031; disk layout - 930576244 - 966367637
[2012-06-11 15:08:15.729465] I [dht-common.c:525:dht_revalidate_cbk] 0-sites-dht: mismatching layouts
2015 Sep 17
2
Asterisk AMI events filtering
Hi folks,
I have one server with multiple companies (multi-tenant).
>From AMI I get all events of all extensions so any one that connect can see
other extensions, from different company (context).
How can I limit specific user to get just specific context?
Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2013 Oct 22
1
Asterisk AMI 1.3 Specification
Hi folks,
We are upgrading from AMI 1.0 to AMI 1.3 and looking for any documents or AMI 1.3 Specifications. I found AMI 1.4 Specification in wiki.asterisk.org but not for AMI 1.3. Can someone provide me the link for AMI 1.3 specification ?
Thanks in advance
Shishir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: