Page MenuHomePhabricator
Paste P8006

Table gen has use-of-uninitialized-value error in llvm::HashString
ActivePublic

Authored by jakehehrlich on Jul 20 2017, 6:36 PM.
==159694:159694==WARNING: MemorySanitizer: use-of-uninitialized-value
#0 0x8c5b0b in llvm::HashString(llvm::StringRef, unsigned int) /usr/local/google/home/jakehehrlich/llvmtot/llvm/include/llvm/ADT/StringExtras.h:210:3
#1 0x8c55cb in llvm::StringMapImpl::LookupBucketFor(llvm::StringRef) /usr/local/google/home/jakehehrlich/llvmtot/llvm/lib/Support/StringMap.cpp:86:28
#2 0x9acf96 in std::__1::pair<llvm::StringMapIterator<llvm::StringInit*>, bool> llvm::StringMap<llvm::StringInit*, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&>::try_emplace<llvm::StringInit*>(llvm::StringRef, llvm::StringInit*&&) /usr/local/google/home/jakehehrlich/llvmtot/llvm/include/llvm/ADT/StringMap.h:400:25
#3 0x9a31a9 in llvm::StringMap<llvm::StringInit*, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&>::insert(std::__1::pair<llvm::StringRef, llvm::StringInit*>) /usr/local/google/home/jakehehrlich/llvmtot/llvm/include/llvm/ADT/StringMap.h:391:12
#4 0x986bd3 in llvm::StringInit::get(llvm::StringRef) /usr/local/google/home/jakehehrlich/llvmtot/llvm/lib/TableGen/Record.cpp:427:26
#5 0x9df03d in llvm::TGParser::ParseSimpleValue(llvm::Record*, llvm::RecTy*, llvm::TGParser::IDParseMode) /usr/local/google/home/jakehehrlich/llvmtot/llvm/lib/TableGen/TGParser.cpp:1175:9
#6 0x9d66fa in llvm::TGParser::ParseValue(llvm::Record*, llvm::RecTy*, llvm::TGParser::IDParseMode) /usr/local/google/home/jakehehrlich/llvmtot/llvm/lib/TableGen/TGParser.cpp:1476:18
#7 0x9d893b in llvm::TGParser::ParseValueList(llvm::SmallVectorImpl<llvm::Init*>&, llvm::Record*, llvm::Record*, llvm::RecTy*) /usr/local/google/home/jakehehrlich/llvmtot/llvm/lib/TableGen/TGParser.cpp:1670:20
#8 0x9d84fc in llvm::TGParser::ParseSubClassReference(llvm::Record*, bool) /usr/local/google/home/jakehehrlich/llvmtot/llvm/lib/TableGen/TGParser.cpp:490:3
#9 0x9e3f70 in llvm::TGParser::ParseObjectBody(llvm::Record*) /usr/local/google/home/jakehehrlich/llvmtot/llvm/lib/TableGen/TGParser.cpp:1973:34
#10 0x9e5a5e in llvm::TGParser::ParseDef(llvm::MultiClass*) /usr/local/google/home/jakehehrlich/llvmtot/llvm/lib/TableGen/TGParser.cpp:2023:9
#11 0x9e64fa in llvm::TGParser::ParseObjectList(llvm::MultiClass*) /usr/local/google/home/jakehehrlich/llvmtot/llvm/lib/TableGen/TGParser.cpp:2678:9
#12 0x9ed877 in llvm::TGParser::ParseFile() /usr/local/google/home/jakehehrlich/llvmtot/llvm/lib/TableGen/TGParser.cpp:2686:7
#13 0x97cc50 in llvm::TableGenMain(char*, bool (*)(llvm::raw_ostream&, llvm::RecordKeeper&)) /usr/local/google/home/jakehehrlich/llvmtot/llvm/lib/TableGen/Main.cpp:96:14
#14 0x811cf7 in main /usr/local/google/home/jakehehrlich/llvmtot/llvm/utils/TableGen/TableGen.cpp:212:10
#15 0x7fb3d9878f44 in __libc_start_main /build/eglibc-SvCtMH/eglibc-2.19/csu/libc-start.c:287
#16 0x4215c8 in _start (/usr/local/google/home/jakehehrlich/llvmtot/msan_build/bin/llvm-tblgen+0x4215c8)

Event Timeline

jakehehrlich created this object with visibility "Public (No Login Required)".
jakehehrlich created this object with edit policy "jakehehrlich (Jake Ehrlich)".