[LLVMbugs] [Bug 6639] New: Uninitialized read used in PIC16TargetObjectFile::allocateIDATA

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 17 12:25:50 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=6639

           Summary: Uninitialized read used in
                    PIC16TargetObjectFile::allocateIDATA
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: sanjiv.gupta at microchip.com
        ReportedBy: jyasskin at google.com
                CC: llvmbugs at cs.uiuc.edu


Found by valgrind in
http://google1.osuosl.org:8011/builders/llvm-x86_64-linux-vg/builds/80/steps/test-llvm/logs/stdio.

******************** TEST 'LLVM :: CodeGen/PIC16/2009-07-17-PR4566-pic16.ll'
FAILED ********************
Script:
--
llc <
/build/buildbot-llvm/llvm-x86_64-linux-vg/llvm/test/CodeGen/PIC16/2009-07-17-PR4566-pic16.ll
-march=pic16 | FileCheck
/build/buildbot-llvm/llvm-x86_64-linux-vg/llvm/test/CodeGen/PIC16/2009-07-17-PR4566-pic16.ll
--
Exit Code: 1
Command Output (stdout):
--
Command has output on stderr!

--
Command Output (stderr):
--
==31251== Conditional jump or move depends on uninitialised value(s)
==31251==    at 0xAA2C4D:
llvm::PIC16TargetObjectFile::allocateIDATA(llvm::GlobalVariable const*) const
(PIC16TargetObjectFile.cpp:186)
==31251==    by 0xAA31CD:
llvm::PIC16TargetObjectFile::SelectSectionForGlobal(llvm::GlobalValue const*,
llvm::SectionKind, llvm::Mangler*, llvm::TargetMachine const&) const
(PIC16TargetObjectFile.cpp:256)
==31251==    by 0x1104C9F:
llvm::TargetLoweringObjectFile::SectionForGlobal(llvm::GlobalValue const*,
llvm::SectionKind, llvm::Mangler*, llvm::TargetMachine const&) const
(TargetLoweringObjectFile.cpp:259)
==31251==    by 0xA7FDA9:
llvm::TargetLoweringObjectFile::SectionForGlobal(llvm::GlobalValue const*,
llvm::Mangler*, llvm::TargetMachine const&) const
(TargetLoweringObjectFile.h:181)
==31251==    by 0xA990E5:
llvm::PIC16AsmPrinter::doInitialization(llvm::Module&)
(PIC16AsmPrinter.cpp:283)
==31251==    by 0x11CDD7A: llvm::FPPassManager::doInitialization(llvm::Module&)
(PassManager.cpp:1380)
==31251==    by 0x11CD505:
llvm::FunctionPassManagerImpl::doInitialization(llvm::Module&)
(PassManager.cpp:1257)
==31251==    by 0x11CD472: llvm::FunctionPassManager::doInitialization()
(PassManager.cpp:1238)
==31251==    by 0x97C76A: main (llc.cpp:369)
==31251== 
--

********************

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list