diff options
Diffstat (limited to 'backend/include/rcc/MIR/MIDebugSyntax.h')
| -rw-r--r-- | backend/include/rcc/MIR/MIDebugSyntax.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/backend/include/rcc/MIR/MIDebugSyntax.h b/backend/include/rcc/MIR/MIDebugSyntax.h new file mode 100644 index 0000000..a8427dc --- /dev/null +++ b/backend/include/rcc/MIR/MIDebugSyntax.h @@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + +#ifndef RCC_MIR_MIDEBUGSYNTAX_H +#define RCC_MIR_MIDEBUGSYNTAX_H + +#include <cstdint> +#include <optional> +#include <string_view> + +namespace rcc::mir { + +[[nodiscard]] std::optional<std::uint64_t> +parseDIExpressionOpcodeName(std::string_view Name) noexcept; + +} // namespace rcc::mir + +#endif // RCC_MIR_MIDEBUGSYNTAX_H |
