[all-commits] [llvm/llvm-project] 5fc05a: [unittest][DebugInfo/DWARF] Check that dwarfgen::G...
Igor Kudrin via All-commits
all-commits at lists.llvm.org
Wed Dec 22 03:54:22 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5fc05a0a81ed06e936196b68ba99ffddcbffd14d
https://github.com/llvm/llvm-project/commit/5fc05a0a81ed06e936196b68ba99ffddcbffd14d
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2021-12-22 (Wed, 22 Dec 2021)
Changed paths:
M llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp
Log Message:
-----------
[unittest][DebugInfo/DWARF] Check that dwarfgen::Generator is created
If Generator::create() returns an error, tests should fail gracefully
and report the cause, for example:
[ RUN ] DebugLineBasicFixture.ParserSkipsCorrectly
.../llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp:47: Failure
Value of: llvm::detail::TakeExpected(ExpectedGenerator)
Expected: succeeded
Actual: failed (no asm backend for target nvptx64-nvidia-cuda)
Differential Revision: https://reviews.llvm.org/D116106
Commit: 2e11e8885c68f7ec6e1f2699a9461708d29ec4df
https://github.com/llvm/llvm-project/commit/2e11e8885c68f7ec6e1f2699a9461708d29ec4df
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2021-12-22 (Wed, 22 Dec 2021)
Changed paths:
M llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
M llvm/unittests/DebugInfo/DWARF/DWARFDieManualExtractTest.cpp
M llvm/unittests/DebugInfo/DWARF/DwarfUtils.cpp
M llvm/unittests/DebugInfo/DWARF/DwarfUtils.h
Log Message:
-----------
[unittest][DebugInfo/DWARF] Do not create dwarfgen::Generator if MCAsmBackend is missing
dwarfgen::Generator cannot be created if there is no asm backend for a
target. For example, if the default target triple is nvptx-nvidia-cuda,
some tests fail even after D98400, which added checks for most cases.
This patch extends the approach to the remaining cases.
Differential Revision: https://reviews.llvm.org/D116107
Commit: f5907ea1c0debddac72f5e4d15fc7fed30e36a72
https://github.com/llvm/llvm-project/commit/f5907ea1c0debddac72f5e4d15fc7fed30e36a72
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2021-12-22 (Wed, 22 Dec 2021)
Changed paths:
M llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
M llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp
M llvm/unittests/DebugInfo/DWARF/DWARFDieManualExtractTest.cpp
M llvm/unittests/DebugInfo/DWARF/DWARFExpressionCompactPrinterTest.cpp
M llvm/unittests/DebugInfo/DWARF/DWARFExpressionCopyBytesTest.cpp
Log Message:
-----------
[unittest][DebugInfo/DWARF] Do not report skipped tests as passed
This is similar to what we have already done to some other tests.
See D102643, D102710, D102754.
Differential Revision: https://reviews.llvm.org/D116108
Compare: https://github.com/llvm/llvm-project/compare/6e9be9f7c124...f5907ea1c0de
More information about the All-commits
mailing list