Skip to content

Conversation

thesamesam
Copy link
Member

AddressableBits uses uint32_t without including <cstdint> which fails to build w/ GCC 15 after a change in libstdc++ [0]

[0] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3a817a4a5a6d94da9127af3be9f84a74e3076ee2

AddressableBits uses `uint32_t` without including `<cstdint>`
which fails to build w/ GCC 15 after a change in libstdc++ [0]

[0] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3a817a4a5a6d94da9127af3be9f84a74e3076ee2
@llvmbot llvmbot added the lldb label Aug 6, 2024
@llvmbot
Copy link
Member

llvmbot commented Aug 6, 2024

@llvm/pr-subscribers-lldb

Author: Sam James (thesamesam)

Changes

AddressableBits uses uint32_t without including &lt;cstdint&gt; which fails to build w/ GCC 15 after a change in libstdc++ [0]

[0] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3a817a4a5a6d94da9127af3be9f84a74e3076ee2


Full diff: https://github.com/llvm/llvm-project/pull/102110.diff

1 Files Affected:

  • (modified) lldb/include/lldb/Utility/AddressableBits.h (+2)
diff --git a/lldb/include/lldb/Utility/AddressableBits.h b/lldb/include/lldb/Utility/AddressableBits.h
index 0d27c3561ec27..8c7a1ec5f52c0 100644
--- a/lldb/include/lldb/Utility/AddressableBits.h
+++ b/lldb/include/lldb/Utility/AddressableBits.h
@@ -12,6 +12,8 @@
 #include "lldb/lldb-forward.h"
 #include "lldb/lldb-public.h"
 
+#include <cstdint>
+
 namespace lldb_private {
 
 /// \class AddressableBits AddressableBits.h "lldb/Core/AddressableBits.h"

@thesamesam
Copy link
Member Author

Thanks!

@thesamesam thesamesam merged commit bb59f04 into llvm:main Aug 6, 2024
6 of 8 checks passed
@thesamesam thesamesam deleted the gcc15-cstdint-lldb branch August 6, 2024 08:58
@thesamesam thesamesam added this to the LLVM 19.X Release milestone Aug 6, 2024
@thesamesam
Copy link
Member Author

/cherry-pick bb59f04

llvmbot pushed a commit to llvmbot/llvm-project that referenced this pull request Aug 6, 2024
@llvmbot
Copy link
Member

llvmbot commented Aug 6, 2024

/pull-request #102112

tru pushed a commit to llvmbot/llvm-project that referenced this pull request Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

3 participants