mirror of
https://github.com/opnsense/src.git
synced 2026-02-17 09:39:26 -05:00
This corresponds with the branchpoint for the 3.6 release. A number of files not required for the FreeBSD build have been removed. Sponsored by: DARPA, AFRL
40 lines
923 B
C++
40 lines
923 B
C++
//===-- Connection.cpp ------------------------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// C Includes
|
|
// C++ Includes
|
|
// Other libraries and framework includes
|
|
// Project includes
|
|
#include "lldb/Core/Connection.h"
|
|
|
|
#if defined(_WIN32)
|
|
#include "lldb/Host/windows/ConnectionGenericFileWindows.h"
|
|
#endif
|
|
|
|
#include "lldb/Host/ConnectionFileDescriptor.h"
|
|
|
|
using namespace lldb_private;
|
|
|
|
Connection::Connection ()
|
|
{
|
|
}
|
|
|
|
Connection::~Connection ()
|
|
{
|
|
}
|
|
|
|
Connection *
|
|
Connection::CreateDefaultConnection(const char *url)
|
|
{
|
|
#if defined(_WIN32)
|
|
if (strstr(url, "file://") == url)
|
|
return new ConnectionGenericFile();
|
|
#endif
|
|
return new ConnectionFileDescriptor();
|
|
}
|