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 1b3e10a commit 1f31957Copy full SHA for 1f31957
llvm/include/llvm/Object/DXContainer.h
@@ -25,6 +25,7 @@
25
#include "llvm/TargetParser/Triple.h"
26
#include <array>
27
#include <cstddef>
28
+#include <cstdint>
29
#include <variant>
30
31
namespace llvm {
@@ -122,8 +123,10 @@ namespace DirectX {
122
123
struct RootParameterView {
124
const dxbc::RootParameterHeader &Header;
125
StringRef ParamData;
126
+ uint32_t Version;
127
+
128
RootParameterView(uint32_t V, const dxbc::RootParameterHeader &H, StringRef P)
- : Header(H), ParamData(P) {}
129
+ : Header(H), ParamData(P), Version(V) {}
130
131
template <typename T> Expected<T> readParameter() {
132
if (sizeof(T) != ParamData.size())
0 commit comments