-
Notifications
You must be signed in to change notification settings - Fork 435
Open
Description
While trying to reproduce #9914, I came across the following GCC valgrind failures:
firtool/include-dirs.fir:
******************** TEST 'CIRCT :: firtool/include-dirs.fir' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
rm -rf /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs.fir.tmp && mkdir -p /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs.fir.tmp/subdir /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs.fir.tmp/alt/subdir # RUN: at line 4
+ rm -rf /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs.fir.tmp
+ mkdir -p /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs.fir.tmp/subdir /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs.fir.tmp/alt/subdir
echo -e "foo\ngenerate_bad_circuit" > /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs.fir.tmp/subdir/source.dummy # RUN: at line 5
+ echo -e 'foo\ngenerate_bad_circuit'
echo -e "foo\nalternate" > /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs.fir.tmp/alt/subdir/source.dummy # RUN: at line 6
+ echo -e 'foo\nalternate'
not /scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool /repos/github.com/llvm/circt/test/firtool/include-dirs.fir 2>&1 | /scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/FileCheck /repos/github.com/llvm/circt/test/firtool/include-dirs.fir --check-prefixes=COMMON,MISSING # RUN: at line 9
+ not /scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool /repos/github.com/llvm/circt/test/firtool/include-dirs.fir
+ /scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/FileCheck /repos/github.com/llvm/circt/test/firtool/include-dirs.fir --check-prefixes=COMMON,MISSING
not /scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool /repos/github.com/llvm/circt/test/firtool/include-dirs.fir -I /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs.fir.tmp/subdir 2>&1 | /scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/FileCheck /repos/github.com/llvm/circt/test/firtool/include
-dirs.fir --check-prefixes=COMMON,MISSING # RUN: at line 10
+ not /scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool /repos/github.com/llvm/circt/test/firtool/include-dirs.fir -I /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs.fir.tmp/subdir
+ /scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/FileCheck /repos/github.com/llvm/circt/test/firtool/include-dirs.fir --check-prefixes=COMMON,MISSING
not /scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool /repos/github.com/llvm/circt/test/firtool/include-dirs.fir -I /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs.fir.tmp -I /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs.fir.tmp/subdir 2>&1 | /scratch/repos/
github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/FileCheck /repos/github.com/llvm/circt/test/firtool/include-dirs.fir --check-prefixes=COMMON,FOUND # RUN: at line 13
+ not /scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool /repos/github.com/llvm/circt/test/firtool/include-dirs.fir -I /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs.fir.tmp -I /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs.fir.tmp/subdir
+ /scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/FileCheck /repos/github.com/llvm/circt/test/firtool/include-dirs.fir --check-prefixes=COMMON,FOUND
/repos/github.com/llvm/circt/test/firtool/include-dirs.fir:29:11: error: COMMON: expected string not found in input
; COMMON: subdir/source.dummy:2:3:
^
<stdin>:1:1: note: scanning from here
==3310220== Conditional jump or move depends on uninitialised value(s)
^
<stdin>:7:100: note: possible intended match here
==3310220== by 0x10B7BF1: mlir::detail::SourceMgrDiagnosticHandlerImpl::getSourceMgrBufferIDForFile(llvm::SourceMgr&, llvm::StringRef) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
^
Input file: <stdin>
Check file: /repos/github.com/llvm/circt/test/firtool/include-dirs.fir
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: ==3310220== Conditional jump or move depends on uninitialised value(s)
check:29'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
2: ==3310220== at 0x9F395B: llvm::WritableMemoryBuffer::getNewUninitMemBuffer(unsigned long, llvm::Twine const&, std::optional<llvm::Align>) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3: ==3310220== by 0x9F4B4C: llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> > > getOpenFileImpl<llvm::MemoryBuffer>(int, llvm::Twine const&, unsigned long, unsigned long, long, bool, bool, std::optional<llvm::Align>) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4: ==3310220== by 0x9F548C: llvm::MemoryBuffer::getFile(llvm::Twine const&, bool, bool, bool, std::optional<llvm::Align>) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5: ==3310220== by 0xA024F2: llvm::SourceMgr::OpenIncludeFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6: ==3310220== by 0xA035BD: llvm::SourceMgr::AddIncludeFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, llvm::SMLoc, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7: ==3310220== by 0x10B7BF1: mlir::detail::SourceMgrDiagnosticHandlerImpl::getSourceMgrBufferIDForFile(llvm::SourceMgr&, llvm::StringRef) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
check:29'1 ? possible intended match
8: ==3310220== by 0x10B7FD8: mlir::SourceMgrDiagnosticHandler::convertLocToSMLoc(mlir::FileLineColLoc) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9: ==3310220== by 0x10B808B: mlir::SourceMgrDiagnosticHandler::emitDiagnostic(mlir::Location, llvm::Twine, mlir::DiagnosticSeverity, bool) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10: ==3310220== by 0x10B8B0C: mlir::SourceMgrDiagnosticHandler::emitDiagnostic(mlir::Diagnostic&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11: ==3310220== by 0x10B91AB: llvm::LogicalResult llvm::detail::UniqueFunctionBase<llvm::LogicalResult, mlir::Diagnostic&>::CallImpl<mlir::DiagnosticEngine::registerHandler<mlir::SourceMgrDiagnosticHandler::SourceMgrDiagnosticHandler(llvm::SourceMgr&, mlir::MLIRContext*, llvm::raw_ostream&, llvm::unique_function<bool (mlir::Location)>&&)::{lambda(mlir::Diagnostic&)#1}, void>(mlir::SourceMgrDiagnosticHandler::SourceMgrDiagnosticHandler(llvm::SourceMgr&, mlir::MLIRC
ontext*, llvm::raw_ostream&, llvm::unique_function<bool (mlir::Location)>&&)::{lambda(mlir::Diagnostic&)#1}&&)::{lambda(mlir::Diagnostic&)#1}>(void*, mlir::Diagnostic&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12: ==3310220== by 0x10B6E91: mlir::detail::DiagnosticEngineImpl::emit(mlir::Diagnostic&&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
check:29'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
.
.
>>>>>>
--
********************
firtool/include-dirs-annotations.fir:
******************** TEST 'CIRCT :: firtool/include-dirs-annotations.fir' FAILED ********************
Exit Code: 123
Command Output (stdout):
--
firrtl.circuit "Test" attributes {annotations = [{class = "circt.test"}]} {
--
Command Output (stderr):
--
rm -rf /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs-annotations.fir.tmp && mkdir -p /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs-annotations.fir.tmp # RUN: at line 4
+ rm -rf /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs-annotations.fir.tmp
+ mkdir -p /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs-annotations.fir.tmp
echo '[{ "class": "circt.test", "target": "~Test" }]' > /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs-annotations.fir.tmp/test.anno.json # RUN: at line 5
+ echo '[{ "class": "circt.test", "target": "~Test" }]'
not /scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool /repos/github.com/llvm/circt/test/firtool/include-dirs-annotations.fir --parse-only --annotation-file test.anno.json # RUN: at line 8
+ not /scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool /repos/github.com/llvm/circt/test/firtool/include-dirs-annotations.fir --parse-only --annotation-file test.anno.json
cannot open input annotation file 'test.anno.json': No such file or directory
/scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool /repos/github.com/llvm/circt/test/firtool/include-dirs-annotations.fir --parse-only --annotation-file test.anno.json -I /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs-annotations.fir.tmp | grep circt.test # RUN: at line 10
+ grep circt.test
+ /scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool /repos/github.com/llvm/circt/test/firtool/include-dirs-annotations.fir --parse-only --annotation-file test.anno.json -I /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/tools/circt/test/firtool/Output/include-dirs-annotations.fir.tmp
==3307897== Conditional jump or move depends on uninitialised value(s)
==3307897== at 0x9F395B: llvm::WritableMemoryBuffer::getNewUninitMemBuffer(unsigned long, llvm::Twine const&, std::optional<llvm::Align>) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9F4B4C: llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> > > getOpenFileImpl<llvm::MemoryBuffer>(int, llvm::Twine const&, unsigned long, unsigned long, long, bool, bool, std::optional<llvm::Align>) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9F548C: llvm::MemoryBuffer::getFile(llvm::Twine const&, bool, bool, bool, std::optional<llvm::Align>) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0xA024F2: llvm::SourceMgr::OpenIncludeFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0xA035BD: llvm::SourceMgr::AddIncludeFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, llvm::SMLoc, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9BEA8B: processBuffer(mlir::MLIRContext&, circt::firtool::FirtoolOptions&, mlir::TimingScope&, llvm::SourceMgr&, std::optional<std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile> > >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9C219C: processInputSplit(mlir::MLIRContext&, circt::firtool::FirtoolOptions&, mlir::TimingScope&, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, std::optional<std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile> > >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9B14E1: main (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897==
==3307897== Conditional jump or move depends on uninitialised value(s)
==3307897== at 0x4C3912F: malloc (vg_replace_malloc.c:442)
==3307897== by 0x9F399D: llvm::WritableMemoryBuffer::getNewUninitMemBuffer(unsigned long, llvm::Twine const&, std::optional<llvm::Align>) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9F4B4C: llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> > > getOpenFileImpl<llvm::MemoryBuffer>(int, llvm::Twine const&, unsigned long, unsigned long, long, bool, bool, std::optional<llvm::Align>) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9F548C: llvm::MemoryBuffer::getFile(llvm::Twine const&, bool, bool, bool, std::optional<llvm::Align>) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0xA024F2: llvm::SourceMgr::OpenIncludeFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0xA035BD: llvm::SourceMgr::AddIncludeFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, llvm::SMLoc, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9BEA8B: processBuffer(mlir::MLIRContext&, circt::firtool::FirtoolOptions&, mlir::TimingScope&, llvm::SourceMgr&, std::optional<std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile> > >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9C219C: processInputSplit(mlir::MLIRContext&, circt::firtool::FirtoolOptions&, mlir::TimingScope&, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, std::optional<std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile> > >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9B14E1: main (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897==
==3307897== Conditional jump or move depends on uninitialised value(s)
==3307897== at 0x9F39CB: llvm::WritableMemoryBuffer::getNewUninitMemBuffer(unsigned long, llvm::Twine const&, std::optional<llvm::Align>) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9F4B4C: llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> > > getOpenFileImpl<llvm::MemoryBuffer>(int, llvm::Twine const&, unsigned long, unsigned long, long, bool, bool, std::optional<llvm::Align>) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9F548C: llvm::MemoryBuffer::getFile(llvm::Twine const&, bool, bool, bool, std::optional<llvm::Align>) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0xA024F2: llvm::SourceMgr::OpenIncludeFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0xA035BD: llvm::SourceMgr::AddIncludeFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, llvm::SMLoc, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9BEA8B: processBuffer(mlir::MLIRContext&, circt::firtool::FirtoolOptions&, mlir::TimingScope&, llvm::SourceMgr&, std::optional<std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile> > >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9C219C: processInputSplit(mlir::MLIRContext&, circt::firtool::FirtoolOptions&, mlir::TimingScope&, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, std::optional<std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile> > >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9B14E1: main (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897==
==3307897== Use of uninitialised value of size 8
==3307897== at 0x9F39E1: llvm::WritableMemoryBuffer::getNewUninitMemBuffer(unsigned long, llvm::Twine const&, std::optional<llvm::Align>) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9F4B4C: llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> > > getOpenFileImpl<llvm::MemoryBuffer>(int, llvm::Twine const&, unsigned long, unsigned long, long, bool, bool, std::optional<llvm::Align>) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9F548C: llvm::MemoryBuffer::getFile(llvm::Twine const&, bool, bool, bool, std::optional<llvm::Align>) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0xA024F2: llvm::SourceMgr::OpenIncludeFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0xA035BD: llvm::SourceMgr::AddIncludeFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, llvm::SMLoc, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9BEA8B: processBuffer(mlir::MLIRContext&, circt::firtool::FirtoolOptions&, mlir::TimingScope&, llvm::SourceMgr&, std::optional<std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile> > >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9C219C: processInputSplit(mlir::MLIRContext&, circt::firtool::FirtoolOptions&, mlir::TimingScope&, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, std::optional<std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile> > >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9B14E1: main (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897==
==3307897== Conditional jump or move depends on uninitialised value(s)
==3307897== at 0x9F4B6C: llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> > > getOpenFileImpl<llvm::MemoryBuffer>(int, llvm::Twine const&, unsigned long, unsigned long, long, bool, bool, std::optional<llvm::Align>) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9F548C: llvm::MemoryBuffer::getFile(llvm::Twine const&, bool, bool, bool, std::optional<llvm::Align>) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0xA024F2: llvm::SourceMgr::OpenIncludeFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0xA035BD: llvm::SourceMgr::AddIncludeFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, llvm::SMLoc, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9BEA8B: processBuffer(mlir::MLIRContext&, circt::firtool::FirtoolOptions&, mlir::TimingScope&, llvm::SourceMgr&, std::optional<std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile> > >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9C219C: processInputSplit(mlir::MLIRContext&, circt::firtool::FirtoolOptions&, mlir::TimingScope&, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, std::optional<std::unique_ptr<llvm::ToolOutputFile, std::default_delete<llvm::ToolOutputFile> > >&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
==3307897== by 0x9B14E1: main (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/firtool)
<truncated>
--
********************
Dialect/FIRRTL/parse-basic.fir
******************** TEST 'CIRCT :: Dialect/FIRRTL/parse-basic.fir' FAILED ********************
Exit Code: 123
Command Output (stderr):
--
/scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate -import-firrtl -verify-diagnostics -split-input-file /repos/github.com/llvm/circt/test/Dialect/FIRRTL/parse-basic.fir | /scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-opt | /scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/FileCheck /repos/github.com/llvm/circt/test/Dialect/FIRRTL/parse-basic.fir # RUN: at line 1
+ /scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate -import-firrtl -verify-diagnostics -split-input-file /repos/github.com/llvm/circt/test/Dialect/FIRRTL/parse-basic.fir
+ /scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-opt
+ /scratch/repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/FileCheck /repos/github.com/llvm/circt/test/Dialect/FIRRTL/parse-basic.fir
==3301124== Conditional jump or move depends on uninitialised value(s)
==3301124== at 0x84E57C: (anonymous namespace)::FIRCircuitParser::skipToModuleEnd(unsigned int) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x8655DE: (anonymous namespace)::FIRCircuitParser::parseModule(circt::firrtl::CircuitOp, bool, unsigned int) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x881633: circt::firrtl::importFIRFile(llvm::SourceMgr&, mlir::MLIRContext*, mlir::TimingScope&, circt::firrtl::FIRParserOptions) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x8826A5: std::_Function_handler<mlir::OwningOpRef<mlir::Operation*> (llvm::SourceMgr&, mlir::MLIRContext*), circt::firrtl::registerFromFIRFileTranslation()::{lambda(llvm::SourceMgr&, mlir::MLIRContext*)#1}>::_M_invoke(std::_Any_data const&, llvm::SourceMgr&, mlir::MLIRContext*&&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x9D577C: std::_Function_handler<mlir::OwningOpRef<mlir::Operation*> (std::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*), mlir::TranslateToMLIRRegistration::TranslateToMLIRRegistration(llvm::StringRef, llvm::StringRef, std::function<mlir::OwningOpRef<mlir::Operation*> (llvm::SourceMgr&, mlir::MLIRContext*)> const&, std::function<void (mlir::DialectRegistry&)> const&, std::optional<llvm::Align>)::{lambda(std::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*)#1}>::_M_invoke(std::_Any_data const&, std::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*&&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x9D66FF: std::_Function_handler<llvm::LogicalResult (std::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*), registerTranslateToMLIRFunction(llvm::StringRef, llvm::StringRef, std::function<void (mlir::DialectRegistry&)> const&, std::optional<llvm::Align>, std::function<mlir::OwningOpRef<mlir::Operation*> (std::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*)> const&)::{lambda(std::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*)#1}>::_M_invoke(std::_Any_data const&, std::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*&&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x9D2A85: mlir::mlirTranslateMain(int, char**, llvm::StringRef)::{lambda(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&)#1}::operator()(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&) const (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x9D320D: llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&)>::callback_fn<mlir::mlirTranslateMain(int, char**, llvm::StringRef)::{lambda(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&)#1}>(long, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x16119D2: llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::MemoryBufferRef const&, llvm::raw_ostream&)>::callback_fn<mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)::{lambda(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::MemoryBufferRef const&, llvm::raw_ostream&)#1}>(long, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::MemoryBufferRef const&, llvm::raw_ostream&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x1611B4A: mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::MemoryBufferRef const&, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)::{lambda(llvm::StringRef)#1}::operator()(llvm::StringRef) const (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x1612071: mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::MemoryBufferRef const&, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x1612458: mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124==
==3301124== Thread 2 llvm-worker-0:
==3301124== Conditional jump or move depends on uninitialised value(s)
==3301124== at 0x87E807: (anonymous namespace)::FIRStmtParser::parseWhen(unsigned int) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x87B963: (anonymous namespace)::FIRStmtParser::parseSimpleStmt(unsigned int) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x87EF74: (anonym.ous namespace)::FIRCircuitParser::parseModuleBody(mlir::SymbolTable const&, (anonymous namespace)::FIRCircuitParser::DeferredModuleToParse&, (anonymous namespace)::InnerSymFixups&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x882757: void llvm::detail::UniqueFunctionBase<void>::CallImpl<mlir::failableParallelForEach<llvm::detail::SafeIntIterator<unsigned long, false>, (anonymous namespace)::FIRCircuitParser::parseCircuit(llvm::SmallVectorImpl<llvm::MemoryBuffer const*>&, mlir::TimingScope&)::{lambda(unsigned long)#1}>(mlir::MLIRContext*, llvm::detail::SafeIntIterator<unsigned long, false>, llvm::detail::SafeIntIterator<unsigned long, false>, (anonymous namespace)::FIRCircuitParser::parseCircuit(llvm::SmallVectorImpl<llvm::MemoryBuffer const*>&, mlir::TimingScope&)::{lambda(unsigned long)#1}&&)::{lambda()#1}>(void*) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x796794: std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> (), std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>, std::__future_base::_Result_base::_Deleter>, std::thread::_Invoker<std::tuple<llvm::unique_function<void ()> > >, void> >::_M_invoke(std::_Any_data const&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x796BEA: std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter> ()>*, bool*) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x4E5BB06: __pthread_once_slow (in /usr/lib64/libpthread-2.28.so)
==3301124== by 0x7969C0: std::__future_base::_Deferred_state<std::thread::_Invoker<std::tuple<llvm::unique_function<void ()> > >, void>::_M_complete_async() (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x796AAF: void llvm::detail::UniqueFunctionBase<void>::CallImpl<llvm::ThreadPoolInterface::asyncImpl<void>(llvm::unique_function<void ()>, llvm::ThreadPoolTaskGroup*)::{lambda()#1}>(void*) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x161F7B5: llvm::StdThreadPool::processTasks(llvm::ThreadPoolTaskGroup*) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x1620A6E: void* llvm::thread::ThreadProxy<std::tuple<llvm::StdThreadPool::grow(int)::{lambda()#1}> >(void*) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x4E541C9: start_thread (in /usr/lib64/libpthread-2.28.so)
==3301124==
==3301124== Thread 1:
==3301124== Conditional jump or move depends on uninitialised value(s)
==3301124== at 0x866E07: (anonymous namespace)::FIRCircuitParser::parseToplevelDefinition(circt::firrtl::CircuitOp, unsigned int) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x881633: circt::firrtl::importFIRFile(llvm::SourceMgr&, mlir::MLIRContext*, mlir::TimingScope&, circt::firrtl::FIRParserOptions) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x8826A5: std::_Function_handler<mlir::OwningOpRef<mlir::Operation*> (llvm::SourceMgr&, mlir::MLIRContext*), circt::firrtl::registerFromFIRFileTranslation()::{lambda(llvm::SourceMgr&, mlir::MLIRContext*)#1}>::_M_invoke(std::_Any_data const&, llvm::SourceMgr&, mlir::MLIRContext*&&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x9D577C: std::_Function_handler<mlir::OwningOpRef<mlir::Operation*> (std::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*), mlir::TranslateToMLIRRegistration::TranslateToMLIRRegistration(llvm::StringRef, llvm::StringRef, std::function<mlir::OwningOpRef<mlir::Operation*> (llvm::SourceMgr&, mlir::MLIRContext*)> const&, std::function<void (mlir::DialectRegistry&)> const&, std::optional<llvm::Align>)::{lambda(std::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*)#1}>::_M_invoke(std::_Any_data const&, std::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*&&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x9D66FF: std::_Function_handler<llvm::LogicalResult (std::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*), registerTranslateToMLIRFunction(llvm::StringRef, llvm::StringRef, std::function<void (mlir::DialectRegistry&)> const&, std::optional<llvm::Align>, std::function<mlir::OwningOpRef<mlir::Operation*> (std::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*)> const&)::{lambda(std::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*)#1}>::_M_invoke(std::_Any_data const&, std::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*&&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x9D2A85: mlir::mlirTranslateMain(int, char**, llvm::StringRef)::{lambda(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&)#1}::operator()(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&) const (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x9D320D: llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&)>::callback_fn<mlir::mlirTranslateMain(int, char**, llvm::StringRef)::{lambda(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&)#1}>(long, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x16119D2: llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::MemoryBufferRef const&, llvm::raw_ostream&)>::callback_fn<mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)::{lambda(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::MemoryBufferRef const&, llvm::raw_ostream&)#1}>(long, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::MemoryBufferRef const&, llvm::raw_ostream&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x1611B4A: mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::MemoryBufferRef const&, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)::{lambda(llvm::StringRef)#1}::operator()(llvm::StringRef) const (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x1612113: mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::MemoryBufferRef const&, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x1612458: mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x9D3BFA: mlir::mlirTranslateMain(int, char**, llvm::StringRef) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124==
==3301124== Conditional jump or move depends on uninitialised value(s)
==3301124== at 0x86638F: (anonymous namespace)::FIRCircuitParser::parseToplevelDefinition(circt::firrtl::CircuitOp, unsigned int) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x881633: circt::firrtl::importFIRFile(llvm::SourceMgr&, mlir::MLIRContext*, mlir::TimingScope&, circt::firrtl::FIRParserOptions) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x8826A5: std::_Function_handler<mlir::OwningOpRef<mlir::Operation*> (llvm::SourceMgr&, mlir::MLIRContext*), circt::firrtl::registerFromFIRFileTranslation()::{lambda(llvm::SourceMgr&, mlir::MLIRContext*)#1}>::_M_invoke(std::_Any_data const&, llvm::SourceMgr&, mlir::MLIRContext*&&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x9D577C: std::_Function_handler<mlir::OwningOpRef<mlir::Operation*> (std::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*), mlir::TranslateToMLIRRegistration::TranslateToMLIRRegistration(llvm::StringRef, llvm::StringRef, std::function<mlir::OwningOpRef<mlir::Operation*> (llvm::SourceMgr&, mlir::MLIRContext*)> const&, std::function<void (mlir::DialectRegistry&)> const&, std::optional<llvm::Align>)::{lambda(std::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*)#1}>::_M_invoke(std::_Any_data const&, std::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*&&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x9D66FF: std::_Function_handler<llvm::LogicalResult (std::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*), registerTranslateToMLIRFunction(llvm::StringRef, llvm::StringRef, std::function<void (mlir::DialectRegistry&)> const&, std::optional<llvm::Align>, std::function<mlir::OwningOpRef<mlir::Operation*> (std::shared_ptr<llvm::SourceMgr> const&, mlir::MLIRContext*)> const&)::{lambda(std::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*)#1}>::_M_invoke(std::_Any_data const&, std::shared_ptr<llvm::SourceMgr> const&, llvm::raw_ostream&, mlir::MLIRContext*&&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x9D2A85: mlir::mlirTranslateMain(int, char**, llvm::StringRef)::{lambda(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&)#1}::operator()(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&) const (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x9D320D: llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&)>::callback_fn<mlir::mlirTranslateMain(int, char**, llvm::StringRef)::{lambda(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&)#1}>(long, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x16119D2: llvm::LogicalResult llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::MemoryBufferRef const&, llvm::raw_ostream&)>::callback_fn<mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)::{lambda(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::MemoryBufferRef const&, llvm::raw_ostream&)#1}>(long, std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::MemoryBufferRef const&, llvm::raw_ostream&) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x1611B4A: mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::MemoryBufferRef const&, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef)::{lambda(llvm::StringRef)#1}::operator()(llvm::StringRef) const (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x1612113: mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::MemoryBufferRef const&, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x1612458: mlir::splitAndProcessBuffer(std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::function_ref<llvm::LogicalResult (std::unique_ptr<llvm::MemoryBuffer, std::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&)>, llvm::raw_ostream&, llvm::StringRef, llvm::StringRef) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124== by 0x9D3BFA: mlir::mlirTranslateMain(int, char**, llvm::StringRef) (in /repos/github.com/llvm/circt/build-gcc-g++-Release-on-vg/bin/circt-translate)
==3301124==
--
********************
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels