[LLVMdev] Warning in LLVM

Renato Golin rengolin at systemcall.org
Mon Mar 14 15:43:50 PDT 2011


When compiling LLVM on my Intel(R) Core(TM)2 Duo CPU P7450 running
Ubuntu (gcc 4.4.5), I get this warning:

/home/rengolin/workspace/llvm/rw/build/Release+Asserts/lib/libLLVMARMAsmParser.a(ARMAsmParser.o):
In function `(anonymous
namespace)::ARMAsmParser::ParseRegisterList(llvm::SmallVectorImpl<llvm::MCParsedAsmOperand*>&)':
ARMAsmParser.cpp:(.text+0x4a05): warning: memset used with constant
zero length parameter; this could be due to transposed parameters

Couldn't see anything special at 0x4a05, even because there was no
such address (it's not even aligned?). Also, nothing got my attention
on the source code, any ideas?

-- 
cheers,
--renato

http://systemcall.org/

Reclaim your digital rights, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm



More information about the llvm-dev mailing list