Skip to content

Commit e4579f7

Browse files
Merge branch 'llvm:main' into gh-101657
2 parents ad3c9ae + f30f7a0 commit e4579f7

File tree

76 files changed

+749
-598
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+749
-598
lines changed

clang/lib/Headers/intrin.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -330,33 +330,33 @@ static __inline__ void __DEFAULT_FN_ATTRS __halt(void) {
330330
__asm__ volatile("hlt");
331331
}
332332

333-
static inline unsigned char __inbyte(unsigned short port) {
333+
static __inline__ unsigned char __inbyte(unsigned short port) {
334334
unsigned char ret;
335335
__asm__ __volatile__("inb %w1, %b0" : "=a"(ret) : "Nd"(port));
336336
return ret;
337337
}
338338

339-
static inline unsigned short __inword(unsigned short port) {
339+
static __inline__ unsigned short __inword(unsigned short port) {
340340
unsigned short ret;
341341
__asm__ __volatile__("inw %w1, %w0" : "=a"(ret) : "Nd"(port));
342342
return ret;
343343
}
344344

345-
static inline unsigned long __indword(unsigned short port) {
345+
static __inline__ unsigned long __indword(unsigned short port) {
346346
unsigned long ret;
347347
__asm__ __volatile__("inl %w1, %k0" : "=a"(ret) : "Nd"(port));
348348
return ret;
349349
}
350350

351-
static inline void __outbyte(unsigned short port, unsigned char data) {
351+
static __inline__ void __outbyte(unsigned short port, unsigned char data) {
352352
__asm__ __volatile__("outb %b0, %w1" : : "a"(data), "Nd"(port));
353353
}
354354

355-
static inline void __outword(unsigned short port, unsigned short data) {
355+
static __inline__ void __outword(unsigned short port, unsigned short data) {
356356
__asm__ __volatile__("outw %w0, %w1" : : "a"(data), "Nd"(port));
357357
}
358358

359-
static inline void __outdword(unsigned short port, unsigned long data) {
359+
static __inline__ void __outdword(unsigned short port, unsigned long data) {
360360
__asm__ __volatile__("outl %k0, %w1" : : "a"(data), "Nd"(port));
361361
}
362362
#endif

lldb/unittests/debugserver/RNBSocketTest.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ void TestSocketConnect(const char *addr) {
120120
ASSERT_EQ(bye, goodbye);
121121
} else {
122122
Socket *connected_socket;
123-
Status err = server_socket->Accept(connected_socket);
123+
Status err =
124+
server_socket->Accept(std::chrono::seconds(10), connected_socket);
124125
if (err.Fail()) {
125126
llvm::errs() << err.AsCString();
126127
abort();

llvm/lib/AsmParser/LLParser.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6261,6 +6261,8 @@ bool LLParser::parseConstantValue(Type *Ty, Constant *&C) {
62616261
case ValID::t_APSInt:
62626262
case ValID::t_APFloat:
62636263
case ValID::t_Undef:
6264+
case ValID::t_Poison:
6265+
case ValID::t_Zero:
62646266
case ValID::t_Constant:
62656267
case ValID::t_ConstantSplat:
62666268
case ValID::t_ConstantStruct:

0 commit comments

Comments
 (0)