diff options
| author | Jim Ingham <jingham@apple.com> | 2011-01-27 20:15:39 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2011-01-27 20:15:39 +0000 |
| commit | a462f5cc073a5103850ca9508faa33bfb848a2f0 (patch) | |
| tree | acf08e382db8ac202b6089d6d93f58a6b9fbb8ed | |
| parent | 92141d22ce2498430602d191557fdd056b351e90 (diff) | |
| download | bcm5719-llvm-a462f5cc073a5103850ca9508faa33bfb848a2f0.tar.gz bcm5719-llvm-a462f5cc073a5103850ca9508faa33bfb848a2f0.zip | |
Adding a Xcode workspace for lldb.
llvm-svn: 124416
8 files changed, 479 insertions, 1 deletions
diff --git a/lldb/lldb.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/lldb/lldb.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000000..99276bd76ea --- /dev/null +++ b/lldb/lldb.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Workspace + version = "1.0"> + <FileRef + location = "self:lldb.xcodeproj"> + </FileRef> +</Workspace> diff --git a/lldb/lldb.xcodeproj/xcshareddata/xcschemes/LLDB.xcscheme b/lldb/lldb.xcodeproj/xcshareddata/xcschemes/LLDB.xcscheme new file mode 100644 index 00000000000..a6c35bdfd6d --- /dev/null +++ b/lldb/lldb.xcodeproj/xcshareddata/xcschemes/LLDB.xcscheme @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Scheme + version = "1.3"> + <BuildAction + parallelizeBuildables = "NO" + buildImplicitDependencies = "YES"> + <BuildActionEntries> + <BuildActionEntry + buildForTesting = "YES" + buildForRunning = "YES" + buildForProfiling = "YES" + buildForArchiving = "YES" + buildForAnalyzing = "YES"> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "26680206115FD0ED008E1FE4" + BuildableName = "LLDB.framework" + BlueprintName = "LLDB" + ReferencedContainer = "container:lldb.xcodeproj"> + </BuildableReference> + </BuildActionEntry> + </BuildActionEntries> + </BuildAction> + <TestAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB" + shouldUseLaunchSchemeArgsEnv = "YES" + buildConfiguration = "Debug"> + <Testables> + </Testables> + <EnvironmentVariables> + <EnvironmentVariable + key = "BLUBBY" + value = "YES" + isEnabled = "YES"> + </EnvironmentVariable> + </EnvironmentVariables> + </TestAction> + <LaunchAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + displayScaleIsEnabled = "NO" + displayScale = "1.00" + launchStyle = "0" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Debug"> + <BuildableProductRunnable> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "26F5C26910F3D9A4009D5894" + BuildableName = "lldb" + BlueprintName = "lldb-tool" + ReferencedContainer = "container:lldb.xcodeproj"> + </BuildableReference> + </BuildableProductRunnable> + <EnvironmentVariables> + <EnvironmentVariable + key = "BLUBBY" + value = "YES" + isEnabled = "YES"> + </EnvironmentVariable> + </EnvironmentVariables> + <AdditionalOptions> + </AdditionalOptions> + </LaunchAction> + <ProfileAction + displayScaleIsEnabled = "NO" + displayScale = "1.00" + shouldUseLaunchSchemeArgsEnv = "YES" + savedToolIdentifier = "" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Release"> + <EnvironmentVariables> + <EnvironmentVariable + key = "BLUBBY" + value = "YES" + isEnabled = "YES"> + </EnvironmentVariable> + </EnvironmentVariables> + </ProfileAction> + <AnalyzeAction + buildConfiguration = "Debug"> + </AnalyzeAction> + <ArchiveAction + buildConfiguration = "Release" + revealArchiveInOrganizer = "YES"> + </ArchiveAction> +</Scheme> diff --git a/lldb/lldb.xcodeproj/xcshareddata/xcschemes/darwin-debug.xcscheme b/lldb/lldb.xcodeproj/xcshareddata/xcschemes/darwin-debug.xcscheme new file mode 100644 index 00000000000..199c1d140a9 --- /dev/null +++ b/lldb/lldb.xcodeproj/xcshareddata/xcschemes/darwin-debug.xcscheme @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Scheme + version = "1.3"> + <BuildAction + parallelizeBuildables = "NO" + buildImplicitDependencies = "YES"> + <BuildActionEntries> + <BuildActionEntry + buildForTesting = "YES" + buildForRunning = "YES" + buildForProfiling = "YES" + buildForArchiving = "YES" + buildForAnalyzing = "YES"> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "26579F67126A25920007C5CB" + BuildableName = "darwin-debug" + BlueprintName = "darwin-debug" + ReferencedContainer = "container:lldb.xcodeproj"> + </BuildableReference> + </BuildActionEntry> + </BuildActionEntries> + </BuildAction> + <TestAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB" + shouldUseLaunchSchemeArgsEnv = "YES" + buildConfiguration = "Debug"> + <Testables> + </Testables> + <EnvironmentVariables> + <EnvironmentVariable + key = "GRUBBY" + value = "YES" + isEnabled = "YES"> + </EnvironmentVariable> + </EnvironmentVariables> + </TestAction> + <LaunchAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB" + displayScaleIsEnabled = "NO" + displayScale = "1.00" + launchStyle = "0" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Debug"> + <BuildableProductRunnable> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "26579F67126A25920007C5CB" + BuildableName = "darwin-debug" + BlueprintName = "darwin-debug" + ReferencedContainer = "container:lldb.xcodeproj"> + </BuildableReference> + </BuildableProductRunnable> + <EnvironmentVariables> + <EnvironmentVariable + key = "GRUBBY" + value = "YES" + isEnabled = "YES"> + </EnvironmentVariable> + </EnvironmentVariables> + <AdditionalOptions> + </AdditionalOptions> + </LaunchAction> + <ProfileAction + displayScaleIsEnabled = "NO" + displayScale = "1.00" + shouldUseLaunchSchemeArgsEnv = "YES" + savedToolIdentifier = "" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Release"> + <BuildableProductRunnable> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "26579F67126A25920007C5CB" + BuildableName = "darwin-debug" + BlueprintName = "darwin-debug" + ReferencedContainer = "container:lldb.xcodeproj"> + </BuildableReference> + </BuildableProductRunnable> + <EnvironmentVariables> + <EnvironmentVariable + key = "GRUBBY" + value = "YES" + isEnabled = "YES"> + </EnvironmentVariable> + </EnvironmentVariables> + </ProfileAction> + <AnalyzeAction + buildConfiguration = "Debug"> + </AnalyzeAction> + <ArchiveAction + buildConfiguration = "Release" + revealArchiveInOrganizer = "YES"> + </ArchiveAction> +</Scheme> diff --git a/lldb/lldb.xcodeproj/xcshareddata/xcschemes/lldb-tool.xcscheme b/lldb/lldb.xcodeproj/xcshareddata/xcschemes/lldb-tool.xcscheme new file mode 100644 index 00000000000..521b6e858fa --- /dev/null +++ b/lldb/lldb.xcodeproj/xcshareddata/xcschemes/lldb-tool.xcscheme @@ -0,0 +1,172 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Scheme + version = "1.3"> + <BuildAction + parallelizeBuildables = "NO" + buildImplicitDependencies = "YES"> + <BuildActionEntries> + <BuildActionEntry + buildForTesting = "YES" + buildForRunning = "YES" + buildForProfiling = "YES" + buildForArchiving = "YES" + buildForAnalyzing = "YES"> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "26F5C26910F3D9A4009D5894" + BuildableName = "lldb" + BlueprintName = "lldb-tool" + ReferencedContainer = "container:lldb.xcodeproj"> + </BuildableReference> + </BuildActionEntry> + </BuildActionEntries> + </BuildAction> + <TestAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB" + shouldUseLaunchSchemeArgsEnv = "YES" + buildConfiguration = "Debug"> + <Testables> + </Testables> + <EnvironmentVariables> + <EnvironmentVariable + key = "LLDB_LAUNCH_FLAG_DISABLE_ASLR" + value = "YES" + isEnabled = "NO"> + </EnvironmentVariable> + <EnvironmentVariable + key = "LLDB_LAUNCH_FLAG_LAUNCH_IN_TTY" + value = "YES" + isEnabled = "NO"> + </EnvironmentVariable> + <EnvironmentVariable + key = "LLDB_LAUNCH_FLAG_DISABLE_STDIO" + value = "YES" + isEnabled = "NO"> + </EnvironmentVariable> + <EnvironmentVariable + key = "LLDB_DEBUGSERVER_PATH" + value = "/tmp/debugserver" + isEnabled = "NO"> + </EnvironmentVariable> + <EnvironmentVariable + key = "LLDB_DEBUGSERVER_LOG_FILE" + value = "/tmp/debugserver.txt" + isEnabled = "YES"> + </EnvironmentVariable> + <EnvironmentVariable + key = "LLDB_DEBUGSERVER_LOG_FLAGS" + value = "0x800e0e" + isEnabled = "YES"> + </EnvironmentVariable> + </EnvironmentVariables> + </TestAction> + <LaunchAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + displayScaleIsEnabled = "NO" + displayScale = "1.00" + launchStyle = "0" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Debug"> + <BuildableProductRunnable> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "26F5C26910F3D9A4009D5894" + BuildableName = "lldb" + BlueprintName = "lldb-tool" + ReferencedContainer = "container:lldb.xcodeproj"> + </BuildableReference> + </BuildableProductRunnable> + <EnvironmentVariables> + <EnvironmentVariable + key = "LLDB_LAUNCH_FLAG_DISABLE_ASLR" + value = "YES" + isEnabled = "NO"> + </EnvironmentVariable> + <EnvironmentVariable + key = "LLDB_LAUNCH_FLAG_LAUNCH_IN_TTY" + value = "YES" + isEnabled = "NO"> + </EnvironmentVariable> + <EnvironmentVariable + key = "LLDB_LAUNCH_FLAG_DISABLE_STDIO" + value = "YES" + isEnabled = "NO"> + </EnvironmentVariable> + <EnvironmentVariable + key = "LLDB_DEBUGSERVER_PATH" + value = "/tmp/debugserver" + isEnabled = "NO"> + </EnvironmentVariable> + <EnvironmentVariable + key = "LLDB_DEBUGSERVER_LOG_FILE" + value = "/tmp/debugserver.txt" + isEnabled = "YES"> + </EnvironmentVariable> + <EnvironmentVariable + key = "LLDB_DEBUGSERVER_LOG_FLAGS" + value = "0x800e0e" + isEnabled = "YES"> + </EnvironmentVariable> + </EnvironmentVariables> + <AdditionalOptions> + </AdditionalOptions> + </LaunchAction> + <ProfileAction + displayScaleIsEnabled = "NO" + displayScale = "1.00" + shouldUseLaunchSchemeArgsEnv = "YES" + savedToolIdentifier = "" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Release"> + <BuildableProductRunnable> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "26F5C26910F3D9A4009D5894" + BuildableName = "lldb" + BlueprintName = "lldb-tool" + ReferencedContainer = "container:lldb.xcodeproj"> + </BuildableReference> + </BuildableProductRunnable> + <EnvironmentVariables> + <EnvironmentVariable + key = "LLDB_LAUNCH_FLAG_DISABLE_ASLR" + value = "YES" + isEnabled = "NO"> + </EnvironmentVariable> + <EnvironmentVariable + key = "LLDB_LAUNCH_FLAG_LAUNCH_IN_TTY" + value = "YES" + isEnabled = "NO"> + </EnvironmentVariable> + <EnvironmentVariable + key = "LLDB_LAUNCH_FLAG_DISABLE_STDIO" + value = "YES" + isEnabled = "NO"> + </EnvironmentVariable> + <EnvironmentVariable + key = "LLDB_DEBUGSERVER_PATH" + value = "/tmp/debugserver" + isEnabled = "NO"> + </EnvironmentVariable> + <EnvironmentVariable + key = "LLDB_DEBUGSERVER_LOG_FILE" + value = "/tmp/debugserver.txt" + isEnabled = "YES"> + </EnvironmentVariable> + <EnvironmentVariable + key = "LLDB_DEBUGSERVER_LOG_FLAGS" + value = "0x800e0e" + isEnabled = "YES"> + </EnvironmentVariable> + </EnvironmentVariables> + </ProfileAction> + <AnalyzeAction + buildConfiguration = "Debug"> + </AnalyzeAction> + <ArchiveAction + buildConfiguration = "Release" + revealArchiveInOrganizer = "YES"> + </ArchiveAction> +</Scheme> diff --git a/lldb/lldb.xcworkspace/contents.xcworkspacedata b/lldb/lldb.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000000..f92eeccdc23 --- /dev/null +++ b/lldb/lldb.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Workspace + version = "1.0"> + <FileRef + location = "group:lldb.xcodeproj"> + </FileRef> + <FileRef + location = "group:tools/debugserver/debugserver.xcodeproj"> + </FileRef> +</Workspace> diff --git a/lldb/tools/debugserver/debugserver.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/lldb/tools/debugserver/debugserver.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 00000000000..c24931480d4 --- /dev/null +++ b/lldb/tools/debugserver/debugserver.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Workspace + version = "1.0"> + <FileRef + location = "self:debugserver.xcodeproj"> + </FileRef> +</Workspace> diff --git a/lldb/tools/debugserver/debugserver.xcodeproj/xcshareddata/xcschemes/debugserver.xcscheme b/lldb/tools/debugserver/debugserver.xcodeproj/xcshareddata/xcschemes/debugserver.xcscheme new file mode 100644 index 00000000000..64447c65d8a --- /dev/null +++ b/lldb/tools/debugserver/debugserver.xcodeproj/xcshareddata/xcschemes/debugserver.xcscheme @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="UTF-8"?> +<Scheme + version = "1.3"> + <BuildAction + parallelizeBuildables = "NO" + buildImplicitDependencies = "YES"> + <BuildActionEntries> + <BuildActionEntry + buildForTesting = "YES" + buildForRunning = "YES" + buildForProfiling = "YES" + buildForArchiving = "YES" + buildForAnalyzing = "YES"> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "26CE0593115C31C20022F371" + BuildableName = "debugserver" + BlueprintName = "debugserver" + ReferencedContainer = "container:debugserver.xcodeproj"> + </BuildableReference> + </BuildActionEntry> + </BuildActionEntries> + </BuildAction> + <TestAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB" + shouldUseLaunchSchemeArgsEnv = "YES" + buildConfiguration = "Debug"> + <Testables> + </Testables> + <EnvironmentVariables> + <EnvironmentVariable + key = "UBBY" + value = "" + isEnabled = "YES"> + </EnvironmentVariable> + </EnvironmentVariables> + </TestAction> + <LaunchAction + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + displayScaleIsEnabled = "NO" + displayScale = "1.00" + launchStyle = "0" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Debug"> + <BuildableProductRunnable> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "26CE0593115C31C20022F371" + BuildableName = "debugserver" + BlueprintName = "debugserver" + ReferencedContainer = "container:debugserver.xcodeproj"> + </BuildableReference> + </BuildableProductRunnable> + <EnvironmentVariables> + <EnvironmentVariable + key = "UBBY" + value = "" + isEnabled = "YES"> + </EnvironmentVariable> + </EnvironmentVariables> + <AdditionalOptions> + </AdditionalOptions> + </LaunchAction> + <ProfileAction + displayScaleIsEnabled = "NO" + displayScale = "1.00" + shouldUseLaunchSchemeArgsEnv = "YES" + savedToolIdentifier = "" + useCustomWorkingDirectory = "NO" + buildConfiguration = "Release"> + <BuildableProductRunnable> + <BuildableReference + BuildableIdentifier = "primary" + BlueprintIdentifier = "26CE0593115C31C20022F371" + BuildableName = "debugserver" + BlueprintName = "debugserver" + ReferencedContainer = "container:debugserver.xcodeproj"> + </BuildableReference> + </BuildableProductRunnable> + <EnvironmentVariables> + <EnvironmentVariable + key = "UBBY" + value = "" + isEnabled = "YES"> + </EnvironmentVariable> + </EnvironmentVariables> + </ProfileAction> + <AnalyzeAction + buildConfiguration = "Debug"> + </AnalyzeAction> + <ArchiveAction + buildConfiguration = "Release" + revealArchiveInOrganizer = "YES"> + </ArchiveAction> +</Scheme> diff --git a/lldb/tools/driver/Driver.cpp b/lldb/tools/driver/Driver.cpp index d331ece88f1..f44978efbc2 100644 --- a/lldb/tools/driver/Driver.cpp +++ b/lldb/tools/driver/Driver.cpp @@ -1431,7 +1431,7 @@ sigint_handler (int signo) } int -main (int argc, char const *argv[]) +main (int argc, char const *argv[], const char *envp[]) { SBDebugger::Initialize(); |

