Displaying 20 results from an estimated 8000 matches similar to: "[LLVMdev] new warnings"
2009 Apr 08
0
[LLVMdev] new warnings
Mike,
Can you please just respond to the specific patch on llvm-commits instead
of emailing llvm-dev?
Thanks,
-Tanya
On Tue, 7 Apr 2009, Mike Stump wrote:
> /Volumes/SandBox/clang/clang/clang/unittests/VMCore/MetadataTest.cpp:
> In member function 'virtual
> void<unnamed>::MDNodeTest_Everything_Test::TestBody()':
>
2011 Dec 21
0
[LLVMdev] creating new Metadata
> Dear llvm-ers,
> I am trying to attach a customized metadata to llvm instructions.
> Let's say, I want to attach some number to each instruction.
> I am trying to use
>
> void Instruction::setMetadata(unsigned KindID, MDNode* Node)
>
> but I am not sure how to create a brand new instance of an MDNode.
> Do you have any code samples demonstrating how to do that?
2011 Dec 22
3
[LLVMdev] creating new Metadata
Hello,
Thank you very much for the pointers.
I am are able to create new MDNodes, filled with some constants, and attach
them
to llvm instructions. However, the metadata map is not getting updated as
expected.
For example, instead of the expected new entry
!n = metadata !{some values}
we are getting
!n = metadata !{null}
Do you know what might be wrong? Do we need to enter the MDNodes into the
2011 Dec 22
0
[LLVMdev] creating new Metadata
On 12/21/11 11:24 PM, Oksana Tkachuk wrote:
> Hello,
> Thank you very much for the pointers.
> I am are able to create new MDNodes, filled with some constants, and
> attach them
> to llvm instructions. However, the metadata map is not getting updated
> as expected.
> For example, instead of the expected new entry
If you look at PoolMDPass::runOnModule(), you'll see that
2011 Jul 23
2
[LLVMdev] Build of latest llvm gives warning and error
Building of llvm with gcc-4.5.2-1 gives these warnings:
1) Building FileManagerTest
"llvm[4]: Compiling FileManagerTest.cpp for Debug+Asserts build
C:/Programming/VersionControl/llvm/tools/clang/unittests/Basic/FileManagerTest.cpp:
In member function 'virtual
void<unnamed>::FileManagerTest_NoVirtualDirectoryExistsBeforeAVirtualFileIsAdded_Test::TestBody()':
2014 Jun 30
3
[LLVMdev] LLD dynamic compilation
On 30 June 2014 16:16, Shankar Easwaran <shankare at codeaurora.org> wrote:
> I think you are hitting a bug, the Observer pattern was added a few weeks
> back, and may be there is some sort of uninitialized variable ?
This is my back-trace at "-O2 -g" (since -O1 pass):
operator() (file=<optimized out>, __closure=0x7fffffffde40) at
2011 Dec 20
3
[LLVMdev] creating new Metadata
Dear llvm-ers,
I am trying to attach a customized metadata to llvm instructions.
Let's say, I want to attach some number to each instruction.
I am trying to use
void Instruction::setMetadata(unsigned KindID, MDNode* Node)
but I am not sure how to create a brand new instance of an MDNode.
Do you have any code samples demonstrating how to do that?
Due to some tool dependencies, I am using
2015 Dec 15
2
Trouble supressing ASAN reported leaks
Hi,
I'm currently trying to find and fix memory leaks (compiling with
``-fsanitize=address``) in the KLEE tool [1] an having found some
leaks and I'm having trouble suppressing them.
I'm trying to suppress them using the
``-fsanitize-blacklist=blacklist.txt`` option as documented at
[2]. I'm using Clang 3.7 ( Arch Linux package 3.7.0-6).
The sort of reported leaks I see are
```
2018 Sep 13
2
New warnings when building trunk with GCC 9
Hello,
GCC 9.0 introduces a new warning checkers and some of them found possible
issues in LLVM.
In file included from
/home/davidbolvansky/trunk/llvm/include/llvm/Analysis/LazyCallGraph.h:38,
from
/home/davidbolvansky/trunk/llvm/unittests/Analysis/LazyCallGraphTest.cpp:10:
/home/davidbolvansky/trunk/llvm/include/llvm/ADT/ArrayRef.h: In
instantiation of
2011 Jul 24
0
[LLVMdev] Build of latest llvm gives warning and error
Hi Edward,
> Building of llvm with gcc-4.5.2-1 gives these warnings:
>
> 1) Building FileManagerTest
>
> "llvm[4]: Compiling FileManagerTest.cpp for Debug+Asserts build
> C:/Programming/VersionControl/llvm/tools/clang/unittests/Basic/FileManagerTest.cpp:
> In member function 'virtual
>
2006 Dec 19
2
Compiler warnings using gcc-4.1
Hi Josh et al,
I'm compiling on an Ubuntu Edgy x86 machine. Edgy comes standard
with gcc-4.1 and I'm getting a number of warnings:
memory.c: In function 'FLAC__memory_alloc_aligned':
memory.c:52: warning: cast from pointer to integer of different size
memory.c:52: warning: cast to pointer from integer of different size
metadata_iterators.c: In function
2014 Jun 30
2
[LLVMdev] LLD dynamic compilation
Folks,
I'm having a look at LLD and I need some guidance...
I know it's not production ready for x86 and ARM (the idea is to make
it so). My steps:
I've added it to tools/lld and ran CMake again (on x86_64) on a
standard release build (static linking). It works, builds but I see
one unit test error:
Note: Google Test filter = InputGraphTest.Observer
[==========] Running 1 test from
2007 Dec 22
0
[LLVMdev] random warnings
On Dec 20, 2007, at 3:56 PM, Mike Stump wrote:
> They looked real enough to me:
Fixed, thanks.
-Chris
>
>
> /Volumes/mrs5/net/llvm/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp: In
> function ‘bool<unnamed>::isFPS16Immediate(llvm::ConstantFPSDNode*,
> short int&)’:
> /Volumes/mrs5/net/llvm/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp:
> 148: warning:
2010 Oct 19
3
[PATCH] Fix up 3 klibc build warnings.
klibc/scripts/basic/fixdep.c: In function 'traps':
klibc/scripts/basic/fixdep.c:368: warning: dereferencing type-punned pointer will break strict-aliasing rules
klibc/scripts/basic/fixdep.c:370: warning: dereferencing type-punned pointer will break strict-aliasing rules
klibc/usr/dash/jobs.c: In function 'sprint_status':
klibc/usr/dash/jobs.c:427: warning: format not a string
2007 Dec 20
2
[LLVMdev] random warnings
They looked real enough to me:
/Volumes/mrs5/net/llvm/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp: In
function ‘bool<unnamed>::isFPS16Immediate(llvm::ConstantFPSDNode*,
short int&)’:
/Volumes/mrs5/net/llvm/llvm/lib/Target/CellSPU/SPUISelDAGToDAG.cpp:
148: warning: dereferencing type-punned pointer will break strict-
aliasing rules
2013 Jan 07
2
[LLVMdev] Build failure when building single threaded LLVM with CMake
Hi,
I found that building LLVM in single-threaded mode with CMake is failing
because some object files still have references to pthread routines. There
are two instances of the build failure happening.
$ cmake .../llvm/ -DLLVM_ENABLE_THREADS=0
$ make -j8 check-all
% Linking CXX executable IRTests
../../lib/libgtest.a(gtest.cc.o): In function
2013 Apr 01
0
[LLVMdev] cannot compile 3.2, ScalarEvolutionTest fails to link
I am trying to build 3.2 and get this error:
make[2]: Leaving directory `/home/opt/llvm-3.2.src/unittests/ADT'
/home/opt/llvm-3.2.src/unittests/Analysis/Release+Asserts/ScalarEvolutionTest.o:
In function `llvm::(anonymous
namespace)::ScalarEvolutionsTest_SCEVMultiplyAddRecs_Test::TestBody()':
ScalarEvolutionTest.cpp:(.text+0x1408): undefined reference to
2009 Apr 08
4
[LLVMdev] new warnings
On Apr 7, 2009, at 6:02 PM, Tanya M. Lattner wrote:
> Can you please just respond to the specific patch on llvm-commits
> instead
> of emailing llvm-dev?
Don't happen to know which checkin caused it...
2011 Jul 26
3
[LLVMdev] [PATCH][RFC] upgrade to googletest 1.6.0 (was Re: Build of latest llvm gives warning and error)
On 24 July 2011 10:59, Duncan Sands <baldrick at free.fr> wrote:
> Hi Edward,
>
>> Building of llvm with gcc-4.5.2-1 gives these warnings:
>>
>> 1) Building FileManagerTest
>>
>> "llvm[4]: Compiling FileManagerTest.cpp for Debug+Asserts build
>> C:/Programming/VersionControl/llvm/tools/clang/unittests/Basic/FileManagerTest.cpp:
>> In
2013 Jul 11
1
Some build/QA warnings
Hi,
I built syslinux-5.11-pre8 on Gentoo (x86_amd64, gcc-4.7.3,
glibc-2.17, 3.9.9 x86_64) from git and got these messages:
* QA Notice: Package triggers severe warnings which indicate that it
* may exhibit random runtime failures.
* sha512crypt.c:227:5: warning: dereferencing type-punned pointer
will break strict-aliasing rules [-Wstrict-aliasing]
* sha512crypt.c:228:5: warning: