Skip to content

Commit

Permalink
Merged master:871fe71f2951 into amd-gfx:64897df3e8ca
Browse files Browse the repository at this point in the history
Local branch amd-gfx 64897df Merged master:5e696d895bde into amd-gfx:12b9e03c12c5
Remote branch master 871fe71 Fix typo for hasAnyOverloadedOperatorName; NFC
  • Loading branch information
Sw authored and Sw committed Nov 18, 2020
2 parents 64897df + 871fe71 commit 98c87d9
Show file tree
Hide file tree
Showing 30 changed files with 198 additions and 188 deletions.
4 changes: 2 additions & 2 deletions clang/docs/LibASTMatchersReference.html
Original file line number Diff line number Diff line change
Expand Up @@ -2779,7 +2779,7 @@ <h2 id="narrowing-matchers">Narrowing Matchers</h2>
Matches overloaded operator names specified in strings without the
"operator" prefix: e.g. "&lt;&lt;".

hasAnyOverloadesOperatorName("+", "-")
hasAnyOverloadedOperatorName("+", "-")
Is equivalent to
anyOf(hasOverloadedOperatorName("+"), hasOverloadedOperatorName("-"))
</pre></td></tr>
Expand Down Expand Up @@ -3400,7 +3400,7 @@ <h2 id="narrowing-matchers">Narrowing Matchers</h2>
Matches overloaded operator names specified in strings without the
"operator" prefix: e.g. "&lt;&lt;".

hasAnyOverloadesOperatorName("+", "-")
hasAnyOverloadedOperatorName("+", "-")
Is equivalent to
anyOf(hasOverloadedOperatorName("+"), hasOverloadedOperatorName("-"))
</pre></td></tr>
Expand Down
2 changes: 1 addition & 1 deletion clang/include/clang/ASTMatchers/ASTMatchers.h
Original file line number Diff line number Diff line change
Expand Up @@ -2825,7 +2825,7 @@ hasOverloadedOperatorName(StringRef Name) {
/// Matches overloaded operator names specified in strings without the
/// "operator" prefix: e.g. "<<".
///
/// hasAnyOverloadesOperatorName("+", "-")
/// hasAnyOverloadedOperatorName("+", "-")
/// Is equivalent to
/// anyOf(hasOverloadedOperatorName("+"), hasOverloadedOperatorName("-"))
extern const internal::VariadicFunction<
Expand Down
6 changes: 4 additions & 2 deletions clang/include/clang/Driver/Options.td
Original file line number Diff line number Diff line change
Expand Up @@ -3791,10 +3791,12 @@ def analyzer_werror : Flag<["-"], "analyzer-werror">,
// Migrator Options
//===----------------------------------------------------------------------===//
def migrator_no_nsalloc_error : Flag<["-"], "no-ns-alloc-error">,
HelpText<"Do not error on use of NSAllocateCollectable/NSReallocateCollectable">;
HelpText<"Do not error on use of NSAllocateCollectable/NSReallocateCollectable">,
MarshallingInfoFlag<"MigratorOpts.NoNSAllocReallocError">;

def migrator_no_finalize_removal : Flag<["-"], "no-finalize-removal">,
HelpText<"Do not remove finalize method in gc mode">;
HelpText<"Do not remove finalize method in gc mode">,
MarshallingInfoFlag<"MigratorOpts.NoFinalizeRemoval">;

//===----------------------------------------------------------------------===//
// CodeGen Options
Expand Down
17 changes: 15 additions & 2 deletions clang/lib/CodeGen/CGStmt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2306,8 +2306,21 @@ void CodeGenFunction::EmitAsmStmt(const AsmStmt &S) {
std::max((uint64_t)LargestVectorWidth,
VT->getPrimitiveSizeInBits().getKnownMinSize());
} else {
ArgTypes.push_back(Dest.getAddress(*this).getType());
Args.push_back(Dest.getPointer(*this));
llvm::Type *DestAddrTy = Dest.getAddress(*this).getType();
llvm::Value *DestPtr = Dest.getPointer(*this);
// Matrix types in memory are represented by arrays, but accessed through
// vector pointers, with the alignment specified on the access operation.
// For inline assembly, update pointer arguments to use vector pointers.
// Otherwise there will be a mis-match if the matrix is also an
// input-argument which is represented as vector.
if (isa<MatrixType>(OutExpr->getType().getCanonicalType())) {
DestAddrTy = llvm::PointerType::get(
ConvertType(OutExpr->getType()),
cast<llvm::PointerType>(DestAddrTy)->getAddressSpace());
DestPtr = Builder.CreateBitCast(DestPtr, DestAddrTy);
}
ArgTypes.push_back(DestAddrTy);
Args.push_back(DestPtr);
Constraints += "=*";
Constraints += OutputConstraint;
ReadOnly = ReadNone = false;
Expand Down
6 changes: 6 additions & 0 deletions clang/lib/Driver/ToolChains/BareMetal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ BareMetal::BareMetal(const Driver &D, const llvm::Triple &Triple,
getProgramPaths().push_back(getDriver().getInstalledDir());
if (getDriver().getInstalledDir() != getDriver().Dir)
getProgramPaths().push_back(getDriver().Dir);
SmallString<128> SysRoot(getDriver().SysRoot);
if (!SysRoot.empty()) {
llvm::sys::path::append(SysRoot, "lib");
getFilePaths().push_back(std::string(SysRoot));
}
}

/// Is the triple {arm,thumb}-none-none-{eabi,eabihf} ?
Expand Down Expand Up @@ -189,6 +194,7 @@ void baremetal::Linker::ConstructJob(Compilation &C, const JobAction &JA,

CmdArgs.push_back(Args.MakeArgString("-L" + TC.getRuntimesDir()));

TC.AddFilePathLibArgs(Args, CmdArgs);
Args.AddAllArgs(CmdArgs, {options::OPT_L, options::OPT_T_Group,
options::OPT_e, options::OPT_s, options::OPT_t,
options::OPT_Z_Flag, options::OPT_r});
Expand Down
7 changes: 0 additions & 7 deletions clang/lib/Frontend/CompilerInvocation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -683,12 +683,6 @@ static void parseAnalyzerConfigs(AnalyzerOptions &AnOpts,
<< "a filename";
}

static bool ParseMigratorArgs(MigratorOptions &Opts, ArgList &Args) {
Opts.NoNSAllocReallocError = Args.hasArg(OPT_migrator_no_nsalloc_error);
Opts.NoFinalizeRemoval = Args.hasArg(OPT_migrator_no_finalize_removal);
return true;
}

static void ParseCommentArgs(CommentOptions &Opts, ArgList &Args) {
Opts.BlockCommandNames = Args.getAllArgValues(OPT_fcomment_block_commands);
Opts.ParseAllComments = Args.hasArg(OPT_fparse_all_comments);
Expand Down Expand Up @@ -3838,7 +3832,6 @@ bool CompilerInvocation::CreateFromArgs(CompilerInvocation &Res,
FixupInvocation(Res);

Success &= ParseAnalyzerArgs(*Res.getAnalyzerOpts(), Args, Diags);
Success &= ParseMigratorArgs(Res.getMigratorOpts(), Args);
ParseDependencyOutputArgs(Res.getDependencyOutputOpts(), Args);
if (!Res.getDependencyOutputOpts().OutputFile.empty() &&
Res.getDependencyOutputOpts().Targets.empty()) {
Expand Down
8 changes: 4 additions & 4 deletions clang/test/CodeGen/matrix-type.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,10 @@ void matrix_inline_asm_memory_readwrite() {
// CHECK-LABEL: define void @matrix_inline_asm_memory_readwrite()
// CHECK-NEXT: entry:
// CHECK-NEXT: [[ALLOCA:%.+]] = alloca [16 x double], align 8
// CHECK-NEXT: [[PTR:%.+]] = bitcast [16 x double]* [[ALLOCA]] to <16 x double>*
// CHECK-NEXT: [[VAL:%.+]] = load <16 x double>, <16 x double>* [[PTR]], align 8
// FIXME: Pointer element type does not match the vector type.
// CHECK-NEXT: call void asm sideeffect "", "=*r|m,0,~{memory},~{dirflag},~{fpsr},~{flags}"([16 x double]* [[ALLOCA]], <16 x double> [[VAL]])
// CHECK-NEXT: [[PTR1:%.+]] = bitcast [16 x double]* [[ALLOCA]] to <16 x double>*
// CHECK-NEXT: [[PTR2:%.+]] = bitcast [16 x double]* [[ALLOCA]] to <16 x double>*
// CHECK-NEXT: [[VAL:%.+]] = load <16 x double>, <16 x double>* [[PTR2]], align 8
// CHECK-NEXT: call void asm sideeffect "", "=*r|m,0,~{memory},~{dirflag},~{fpsr},~{flags}"(<16 x double>* [[PTR1]], <16 x double> [[VAL]])
// CHECK-NEXT: ret void

dx4x4_t m;
Expand Down
7 changes: 6 additions & 1 deletion clang/test/Driver/baremetal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// CHECK-V6M-C-SAME: "-x" "c++" "{{.*}}baremetal.cpp"
// CHECK-V6M-C-NEXT: "{{[^"]*}}ld{{(\.(lld|bfd|gold))?}}{{(\.exe)?}}" "{{.*}}.o" "-Bstatic"
// CHECK-V6M-C-SAME: "-L[[RESOURCE_DIR:[^"]+]]{{[/\\]+}}lib{{[/\\]+}}baremetal"
// CHECK-V6M-C-SAME: "-L[[SYSROOT:[^"]+]]{{[/\\]+}}lib"
// CHECK-V6M-C-SAME: "-T" "semihosted.lds" "-Lsome{{[/\\]+}}directory{{[/\\]+}}user{{[/\\]+}}asked{{[/\\]+}}for"
// CHECK-V6M-C-SAME: "-lc" "-lm" "-lclang_rt.builtins-armv6m"
// CHECK-V6M-C-SAME: "-o" "{{.*}}.o"
Expand All @@ -34,6 +35,7 @@
// RUN: | FileCheck --check-prefix=CHECK-V6M-DEFAULTCXX %s
// CHECK-V6M-DEFAULTCXX: "{{[^"]*}}ld{{(\.(lld|bfd|gold))?}}{{(\.exe)?}}" "{{.*}}.o" "-Bstatic"
// CHECK-V6M-DEFAULTCXX-SAME: "-L{{[^"]*}}{{[/\\]+}}lib{{(64)?}}{{[/\\]+}}clang{{[/\\]+}}{{.*}}{{[/\\]+}}lib{{[/\\]+}}baremetal"
// CHECK-V6M-DEFAULTCXX-SAME: "-L{{[^"]*}}{{[/\\]+}}Inputs{{[/\\]+}}baremetal_arm{{[/\\]+}}lib"
// CHECK-V6M-DEFAULTCXX-SAME: "-lc++" "-lc++abi" "-lunwind"
// CHECK-V6M-DEFAULTCXX-SAME: "-lc" "-lm" "-lclang_rt.builtins-armv6m"
// CHECK-V6M-DEFAULTCXX-SAME: "-o" "{{.*}}.o"
Expand All @@ -47,6 +49,7 @@
// CHECK-V6M-LIBCXX: "-internal-isystem" "{{[^"]+}}{{[/\\]+}}include{{[/\\]+}}c++{{[/\\]+}}v1"
// CHECK-V6M-LIBCXX: "{{[^"]*}}ld{{(\.(lld|bfd|gold))?}}{{(\.exe)?}}" "{{.*}}.o" "-Bstatic"
// CHECK-V6M-LIBCXX-SAME: "-L{{[^"]*}}{{[/\\]+}}lib{{(64)?}}{{[/\\]+}}clang{{[/\\]+}}{{.*}}{{[/\\]+}}lib{{[/\\]+}}baremetal"
// CHECK-V6M-LIBCXX-SAME: "-L{{[^"]*}}{{[/\\]+}}Inputs{{[/\\]+}}baremetal_arm{{[/\\]+}}lib"
// CHECK-V6M-LIBCXX-SAME: "-lc++" "-lc++abi" "-lunwind"
// CHECK-V6M-LIBCXX-SAME: "-lc" "-lm" "-lclang_rt.builtins-armv6m"
// CHECK-V6M-LIBCXX-SAME: "-o" "{{.*}}.o"
Expand All @@ -60,6 +63,7 @@
// CHECK-V6M-LIBSTDCXX: "-internal-isystem" "{{[^"]+}}{{[/\\]+}}include{{[/\\]+}}c++{{[/\\]+}}6.0.0"
// CHECK-V6M-LIBSTDCXX: "{{[^"]*}}ld{{(\.(lld|bfd|gold))?}}{{(\.exe)?}}" "{{.*}}.o" "-Bstatic"
// CHECK-V6M-LIBSTDCXX-SAME: "-L{{[^"]*}}{{[/\\]+}}lib{{(64)?}}{{[/\\]+}}clang{{[/\\]+}}{{.*}}{{[/\\]+}}lib{{[/\\]+}}baremetal"
// CHECK-V6M-LIBSTDCXX-SAME: "-L{{[^"]*}}{{[/\\]+}}Inputs{{[/\\]+}}baremetal_arm{{[/\\]+}}lib"
// CHECK-V6M-LIBSTDCXX-SAME: "-lstdc++" "-lsupc++" "-lunwind"
// CHECK-V6M-LIBSTDCXX-SAME: "-lc" "-lm" "-lclang_rt.builtins-armv6m"
// CHECK-V6M-LIBSTDCXX-SAME: "-o" "{{.*}}.o"
Expand All @@ -70,7 +74,8 @@
// RUN: -nodefaultlibs \
// RUN: | FileCheck --check-prefix=CHECK-V6M-NDL %s
// CHECK-V6M-NDL: "{{[^"]*}}ld{{(\.(lld|bfd|gold))?}}{{(\.exe)?}}" "{{.*}}.o" "-Bstatic"
// CHECK-V6M-NDL-SAME: "-L{{[^"]*}}{{[/\\]+}}lib{{(64)?}}{{[/\\]+}}clang{{[/\\]+}}{{.*}}{{[/\\]+}}lib{{[/\\]+}}baremetal" "-o" "{{.*}}.o"
// CHECK-V6M-NDL-SAME: "-L{{[^"]*}}{{[/\\]+}}lib{{(64)?}}{{[/\\]+}}clang{{[/\\]+}}{{.*}}{{[/\\]+}}lib{{[/\\]+}}baremetal"
// CHECK-V6M-NDL-SAME: "-L{{[^"]*}}{{[/\\]+}}Inputs{{[/\\]+}}baremetal_arm{{[/\\]+}}lib" "-o" "{{.*}}.o"

// RUN: %clangxx -target arm-none-eabi -v 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-THREAD-MODEL
Expand Down
46 changes: 0 additions & 46 deletions clang/unittests/AST/ASTTraverserTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1068,52 +1068,6 @@ int i = 0;
)cpp");
const auto *TUDecl = AST->getASTContext().getTranslationUnitDecl();

#if _WIN32
EXPECT_EQ(dumpASTString(TK_AsIs, TUDecl),
R"cpp(
TranslationUnitDecl
|-CXXRecordDecl '_GUID'
| `-TypeVisibilityAttr
|-TypedefDecl '__int128_t'
| `-BuiltinType
|-TypedefDecl '__uint128_t'
| `-BuiltinType
|-TypedefDecl '__NSConstantString'
| `-RecordType
|-CXXRecordDecl 'type_info'
| `-TypeVisibilityAttr
|-TypedefDecl 'size_t'
| `-BuiltinType
|-TypedefDecl '__builtin_ms_va_list'
| `-PointerType
| `-BuiltinType
|-TypedefDecl '__builtin_va_list'
| `-PointerType
| `-BuiltinType
`-VarDecl 'i'
`-IntegerLiteral
)cpp");
#else
EXPECT_EQ(dumpASTString(TK_AsIs, TUDecl),
R"cpp(
TranslationUnitDecl
|-TypedefDecl '__int128_t'
| `-BuiltinType
|-TypedefDecl '__uint128_t'
| `-BuiltinType
|-TypedefDecl '__NSConstantString'
| `-RecordType
|-TypedefDecl '__builtin_ms_va_list'
| `-PointerType
| `-BuiltinType
|-TypedefDecl '__builtin_va_list'
| `-ConstantArrayType
| `-RecordType
`-VarDecl 'i'
`-IntegerLiteral
)cpp");
#endif

EXPECT_EQ(dumpASTString(TK_IgnoreUnlessSpelledInSource, TUDecl),
R"cpp(
TranslationUnitDecl
Expand Down
8 changes: 4 additions & 4 deletions compiler-rt/lib/asan/asan_interceptors.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ DECLARE_REAL(uptr, strnlen, const char *s, uptr maxlen)
DECLARE_REAL(char*, strstr, const char *s1, const char *s2)

#if !SANITIZER_MAC
#define ASAN_INTERCEPT_FUNC(name) \
do { \
if (!INTERCEPT_FUNCTION(name)) \
VReport(1, "AddressSanitizer: failed to intercept '%s'\n'", #name); \
#define ASAN_INTERCEPT_FUNC(name) \
do { \
if (!INTERCEPT_FUNCTION(name)) \
VReport(1, "AddressSanitizer: failed to intercept '%s'\n", #name); \
} while (0)
#define ASAN_INTERCEPT_FUNC_VER(name, ver) \
do { \
Expand Down
8 changes: 4 additions & 4 deletions compiler-rt/lib/msan/msan_interceptors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1245,10 +1245,10 @@ int OnExit() {
CHECK_UNPOISONED_0(x, n); \
} while (0)

#define MSAN_INTERCEPT_FUNC(name) \
do { \
if (!INTERCEPT_FUNCTION(name)) \
VReport(1, "MemorySanitizer: failed to intercept '%s'\n'", #name); \
#define MSAN_INTERCEPT_FUNC(name) \
do { \
if (!INTERCEPT_FUNCTION(name)) \
VReport(1, "MemorySanitizer: failed to intercept '%s'\n", #name); \
} while (0)

#define MSAN_INTERCEPT_FUNC_VER(name, ver) \
Expand Down
17 changes: 17 additions & 0 deletions compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1202,6 +1202,21 @@ INTERCEPTOR(int, pthread_cond_timedwait, void *c, void *m, void *abstime) {
m);
}

#if SANITIZER_LINUX
INTERCEPTOR(int, pthread_cond_clockwait, void *c, void *m,
__sanitizer_clockid_t clock, void *abstime) {
void *cond = init_cond(c);
SCOPED_TSAN_INTERCEPTOR(pthread_cond_clockwait, cond, m, clock, abstime);
return cond_wait(
thr, pc, &si,
[=]() { return REAL(pthread_cond_clockwait)(cond, m, clock, abstime); },
cond, m);
}
#define TSAN_MAYBE_PTHREAD_COND_CLOCKWAIT TSAN_INTERCEPT(pthread_cond_clockwait)
#else
#define TSAN_MAYBE_PTHREAD_COND_CLOCKWAIT
#endif

#if SANITIZER_MAC
INTERCEPTOR(int, pthread_cond_timedwait_relative_np, void *c, void *m,
void *reltime) {
Expand Down Expand Up @@ -2716,6 +2731,8 @@ void InitializeInterceptors() {
TSAN_INTERCEPT_VER(pthread_cond_timedwait, PTHREAD_ABI_BASE);
TSAN_INTERCEPT_VER(pthread_cond_destroy, PTHREAD_ABI_BASE);

TSAN_MAYBE_PTHREAD_COND_CLOCKWAIT;

TSAN_INTERCEPT(pthread_mutex_init);
TSAN_INTERCEPT(pthread_mutex_destroy);
TSAN_INTERCEPT(pthread_mutex_trylock);
Expand Down
31 changes: 31 additions & 0 deletions compiler-rt/test/tsan/Linux/clockwait_double_lock.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// Regression test for https://github.com/google/sanitizers/issues/1259
// RUN: %clang_tsan -O1 %s -o %t && %run %t

#define _GNU_SOURCE
#include <pthread.h>

pthread_cond_t cv;
pthread_mutex_t mtx;

void *fn(void *vp) {
pthread_mutex_lock(&mtx);
pthread_cond_signal(&cv);
pthread_mutex_unlock(&mtx);
return NULL;
}

int main() {
pthread_mutex_lock(&mtx);

pthread_t tid;
pthread_create(&tid, NULL, fn, NULL);

struct timespec ts;
clock_gettime(CLOCK_MONOTONIC, &ts);
ts.tv_sec += 10;
pthread_cond_clockwait(&cv, &mtx, CLOCK_MONOTONIC, &ts);
pthread_mutex_unlock(&mtx);

pthread_join(tid, NULL);
return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ class TestMultipleSimultaneousDebuggers(TestBase):

@skipIfNoSBHeaders
@skipIfWindows
@expectedFailureAll(oslist=["freebsd"])
def test_multiple_debuggers(self):
env = {self.dylibPath: self.getLLDBLibraryEnvVal()}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class TestAutoInstallMainExecutable(gdbremote_testcase.GdbRemoteTestCaseBase):
@expectedFailureAll(hostoslist=["windows"], triple='.*-android')
def test_target_auto_install_main_executable(self):
self.build()
self.init_llgs_test(False)
self.init_llgs_test()

# Manually install the modified binary.
working_dir = lldb.remote_platform.GetWorkingDirectory()
Expand Down Expand Up @@ -77,10 +77,10 @@ def test_target_auto_install_main_executable(self):
(os.path.join(working_dir,dest.GetFilename()),
self.getBuildArtifact("a.out")))

target = new_debugger.GetSelectedTarget()
target = self.dbg.GetSelectedTarget()
breakpoint = target.BreakpointCreateByName("main")

launch_info = taget.GetLaunchInfo()
launch_info = target.GetLaunchInfo()
error = lldb.SBError()
process = target.Launch(launch_info, error)
self.assertTrue(process, PROCESS_IS_VALID)
Expand Down
8 changes: 6 additions & 2 deletions lldb/test/API/functionalities/exec/TestExec.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,19 @@ class ExecTestCase(TestBase):

mydir = TestBase.compute_mydir(__file__)

@expectedFailureAll(archs=['i386'], bugnumber="rdar://28656532")
@expectedFailureAll(archs=['i386'],
oslist=no_match(["freebsd"]),
bugnumber="rdar://28656532")
@expectedFailureAll(oslist=["ios", "tvos", "watchos", "bridgeos"], bugnumber="rdar://problem/34559552") # this exec test has problems on ios systems
@expectedFailureNetBSD
@skipIfAsan # rdar://problem/43756823
@skipIfWindows
def test_hitting_exec (self):
self.do_test(False)

@expectedFailureAll(archs=['i386'], bugnumber="rdar://28656532")
@expectedFailureAll(archs=['i386'],
oslist=no_match(["freebsd"]),
bugnumber="rdar://28656532")
@expectedFailureAll(oslist=["ios", "tvos", "watchos", "bridgeos"], bugnumber="rdar://problem/34559552") # this exec test has problems on ios systems
@expectedFailureNetBSD
@skipIfAsan # rdar://problem/43756823
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def test_step_out_with_python(self):
">=",
"3.9"],
archs=["i386"],
oslist=no_match(["freebsd"]),
bugnumber="llvm.org/pr28549")
def test_step_over_with_python(self):
"""Test stepping over using avoid-no-debug with dwarf."""
Expand All @@ -47,6 +48,7 @@ def test_step_over_with_python(self):
">=",
"3.9"],
archs=["i386"],
oslist=no_match(["freebsd"]),
bugnumber="llvm.org/pr28549")
@expectedFailureAll(archs=["arm64"], bugnumber="<rdar://problem/34026777>") # lldb doesn't step past last source line in function on arm64
@expectedFailureAll(archs=["aarch64"], oslist=["linux"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class TestPlatformProcessConnect(gdbremote_testcase.GdbRemoteTestCaseBase):
@expectedFailureAll(hostoslist=["windows"], triple='.*-android')
def test_platform_process_connect(self):
self.build()
self.init_llgs_test(False)
self.init_llgs_test()

working_dir = lldb.remote_platform.GetWorkingDirectory()
src = lldb.SBFileSpec(self.getBuildArtifact("a.out"))
Expand Down
1 change: 1 addition & 0 deletions lldb/test/Shell/Commands/command-process-connect.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# UNSUPPORTED: system-windows
# XFAIL: system-freebsd

# Synchronous
# RUN: %lldb -o 'platform select remote-gdb-server' -o 'process connect connect://localhost:4321' 2>&1 | FileCheck %s
Expand Down
Loading

0 comments on commit 98c87d9

Please sign in to comment.