mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
As in meta-clang for clang-native:
f915bbfc71
(From OE-Core rev: 818750db213dc2c0daac4757d078092be6de3fe6)
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
33 lines
1.3 KiB
Diff
33 lines
1.3 KiB
Diff
From 72dc74c42eb9d9940b36c6804a4e4ac757370324 Mon Sep 17 00:00:00 2001
|
|
From: Stephan Hageboeck <stephan.hageboeck@cern.ch>
|
|
Date: Mon, 20 Jan 2025 17:52:47 +0100
|
|
Subject: [PATCH] Add missing include to X86MCTargetDesc.h (#123320)
|
|
|
|
In gcc-15, explicit includes of `<cstdint>` are required when fixed-size
|
|
integers are used. In this file, this include only happened as a side
|
|
effect of including SmallVector.h
|
|
|
|
Although llvm compiles fine, the root-project would benefit from
|
|
explicitly including it here, so we can backport the patch.
|
|
|
|
Maybe interesting for @hahnjo and @vgvassilev
|
|
|
|
Upstream-Status: Backport [https://github.com/llvm/llvm-project/commit/7abf44069aec61eee147ca67a6333fc34583b524]
|
|
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
|
|
---
|
|
llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h b/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
|
|
index 437a7bd6f..fd7d79484 100644
|
|
--- a/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
|
|
+++ b/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
|
|
@@ -13,6 +13,7 @@
|
|
#ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCTARGETDESC_H
|
|
#define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCTARGETDESC_H
|
|
|
|
+#include <cstdint>
|
|
#include <memory>
|
|
#include <string>
|
|
|