[all-commits] [llvm/llvm-project] 7abf44: Add missing include to X86MCTargetDesc.h (#123320)

Stephan Hageboeck via All-commits all-commits at lists.llvm.org
Mon Jan 20 08:53:09 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7abf44069aec61eee147ca67a6333fc34583b524
      https://github.com/llvm/llvm-project/commit/7abf44069aec61eee147ca67a6333fc34583b524
  Author: Stephan Hageboeck <stephan.hageboeck at cern.ch>
  Date:   2025-01-20 (Mon, 20 Jan 2025)

  Changed paths:
    M llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h

  Log Message:
  -----------
  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



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list