We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40d4594 commit c0aec7aCopy full SHA for c0aec7a
llvm/lib/ObjCopy/DXContainer/DXContainerWriter.cpp
@@ -15,6 +15,8 @@ namespace dxbc {
15
using namespace object;
16
17
size_t DXContainerWriter::finalize() {
18
+ assert(Offsets.empty() &&
19
+ "Attempted to finalize writer with already computed offsets");
20
Offsets.reserve(Obj.Parts.size());
21
size_t Offset = Obj.headerSize();
22
for (const Part &P : Obj.Parts) {
0 commit comments