瀏覽代碼

Reorder RDAT sections back to previous order (#1658)

Helena Kotas 6 年之前
父節點
當前提交
bfbe9fab38
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/DxilContainer/DxilContainerAssembler.cpp

+ 2 - 2
lib/DxilContainer/DxilContainerAssembler.cpp

@@ -1261,10 +1261,10 @@ private:
     m_Parts.emplace_back(llvm::make_unique<type>()); \
     m_p##type = reinterpret_cast<type*>(m_Parts.back().get());
     ADD_PART(StringBufferPart);
+    ADD_PART(ResourceTable);
+    ADD_PART(FunctionTable);
     ADD_PART(IndexArraysPart);
     ADD_PART(RawBytesPart);
-    ADD_PART(FunctionTable);
-    ADD_PART(ResourceTable);
     ADD_PART(SubobjectTable);
 #undef ADD_PART
   }