Home
last modified time | relevance | path

Searched refs:GetEnvironment (Results 1 – 25 of 42) sorted by relevance

12

/llvm-project/lldb/test/API/python_api/sbenvironment/
H A DTestSBEnvironment.py31 env = self.dbg.GetSelectedPlatform().GetEnvironment()
38 env = launch_info.GetEnvironment()
45 self.assertEqual(launch_info.GetEnvironment().GetNumValues(), env_count)
50 self.assertEqual(launch_info.GetEnvironment().GetNumValues(), env_count + 1)
54 self.assertEqual(launch_info.GetEnvironment().GetNumValues(), env_count + 1)
55 self.assertEqual(launch_info.GetEnvironment().Get("FOO"), "baz")
62 self.assertEqualEntries(launch_info.GetEnvironment(), ["BAR=foo", "X=y"])
66 env = self.dbg.GetSelectedTarget().GetEnvironment()
72 env = target.GetEnvironment()
79 self.assertEqual(target.GetEnvironment().Get("PATH"), path)
/llvm-project/lldb/source/API/
H A DSBLaunchInfo.cpp28 SBLaunchInfoImpl() : m_envp(GetEnvironment().getEnvp()) {} in SBLaunchInfoImpl()
31 void RegenerateEnvp() { m_envp = GetEnvironment().getEnvp(); } in RegenerateEnvp()
172 return m_opaque_sp->GetEnvironment().size(); in GetNumEnvironmentEntries()
193 m_opaque_sp->GetEnvironment().insert_or_assign(KV.first(), KV.second); in SetEnvironment()
195 m_opaque_sp->GetEnvironment() = refEnv; in SetEnvironment()
199 SBEnvironment SBLaunchInfo::GetEnvironment() { in GetEnvironment() function in SBLaunchInfo
201 return SBEnvironment(Environment(m_opaque_sp->GetEnvironment())); in GetEnvironment()
H A DSBPlatform.cpp687 SBEnvironment SBPlatform::GetEnvironment() { in GetUnixSignals()
692 return SBEnvironment(platform_sp->GetEnvironment()); in GetEnvironment()
689 SBEnvironment SBPlatform::GetEnvironment() { GetEnvironment() function in SBPlatform
/llvm-project/lldb/source/Plugins/Platform/QemuUser/
H A DPlatformQemuUser.cpp202 Environment emulator_env = Host::GetEnvironment(); in DebugProcess()
207 launch_info.GetEnvironment() = ComputeLaunchEnvironment( in DebugProcess()
208 std::move(launch_info.GetEnvironment()), std::move(emulator_env)); in DebugProcess()
246 Environment PlatformQemuUser::GetEnvironment() { in GetEnvironment() function in PlatformQemuUser
247 Environment env = Host::GetEnvironment(); in GetEnvironment()
H A DPlatformQemuUser.h62 Environment GetEnvironment() override;
/llvm-project/lldb/unittests/Host/
H A DHostTest.cpp24 TEST(Host, GetEnvironment) { in TEST() argument
27 Host::GetEnvironment().lookup("LLDB_TEST_ENVIRONMENT_VAR")); in TEST()
/llvm-project/lldb/unittests/tools/lldb-server/tests/
H A DTestClient.cpp111 Info.GetEnvironment() = Host::GetEnvironment(); in launchCustom()
143 if (SendEnvironment(Host::GetEnvironment()) != 0) { in SetInferior()
/llvm-project/lldb/source/Target/
H A DRemoteAwarePlatform.cpp226 Environment RemoteAwarePlatform::GetEnvironment() { in GetEnvironment()
228 return m_remote_platform_sp->GetEnvironment();
229 return Platform::GetEnvironment(); in IsConnected()
223 Environment RemoteAwarePlatform::GetEnvironment() { GetEnvironment() function in RemoteAwarePlatform
/llvm-project/lldb/include/lldb/Utility/
H A DProcessInfo.h88 Environment &GetEnvironment() { return m_environment; } in GetEnvironment() function
89 const Environment &GetEnvironment() const { return m_environment; } in GetEnvironment() function
/llvm-project/lldb/include/lldb/API/
H A DSBLaunchInfo.h157 SBEnvironment GetEnvironment();
H A DSBPlatform.h179 SBEnvironment GetEnvironment();
/llvm-project/lldb/source/Commands/
H A DCommandOptionsProcessLaunch.cpp138 launch_info.GetEnvironment().insert(option_arg); in SetOptionValue()
/llvm-project/lldb/source/Host/linux/
H A DHost.cpp307 process_info.GetEnvironment().insert(Var); in GetProcessEnviron()
416 Environment Host::GetEnvironment() { return Environment(environ); } GetEnvironment() function in Host
/llvm-project/lldb/tools/lldb-server/
H A Dlldb-gdbserver.cpp158 info.GetEnvironment() = Host::GetEnvironment(); in handle_launch()
/llvm-project/lldb/include/lldb/Target/
H A DRemoteAwarePlatform.h85 lldb_private::Environment GetEnvironment() override;
/llvm-project/lldb/source/Host/common/
H A DHost.cpp113 Environment Host::GetEnvironment() { return Environment(environ); }
446 launch_info.GetEnvironment() = Host::GetEnvironment(); in RunShellCommand()
/llvm-project/lldb/include/lldb/Host/
H A DHost.h269 static Environment GetEnvironment();
/llvm-project/lldb/source/Host/openbsd/
H A DHost.cpp44 Environment Host::GetEnvironment() { GetEnvironment() function in Host
/llvm-project/lldb/source/Host/windows/
H A DProcessLauncherWindows.cpp100 ::CreateEnvironmentBuffer(launch_info.GetEnvironment(), environment); in LaunchProcess()
/llvm-project/lldb/source/Host/freebsd/
H A DHost.cpp244 Environment Host::GetEnvironment() { return Environment(environ); } GetEnvironment() function in Host
/llvm-project/lldb/source/Host/netbsd/
H A DHostNetBSD.cpp49 Environment Host::GetEnvironment() { return Environment(environ); } GetEnvironment() function in Host
/llvm-project/lldb/source/Host/macosx/objcxx/
H A DHost.mm264 Environment host_env = Host::GetEnvironment();
266 for (const auto &KV : launch_info.GetEnvironment()) {
465 Environment Host::GetEnvironment() { return Environment(*_NSGetEnviron()); }
591 Environment &proc_env = process_info.GetEnvironment();
975 launch_info.GetEnvironment());
1223 Environment::Envp envp = launch_info.GetEnvironment().getEnvp();
1401 Environment host_env = Host::GetEnvironment();
463 Environment Host::GetEnvironment() { return Environment(*_NSGetEnviron()); } global() function
/llvm-project/lldb/source/Host/posix/
H A DProcessLauncherPosixFork.cpp240 envp(info.GetEnvironment().getEnvp()), actions(MakeForkActions(info)) {} in FixupEnvironment()
/llvm-project/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformDarwin.cpp692 if (launch_info.GetEnvironment().lookup("COMMAND_MODE") == "legacy") in GetResumeCountForLaunchInfo()
1171 const Environment &env = proc_info.GetEnvironment(); in GetOSVersion()
1259 auto &env_vars = launch_info.GetEnvironment(); in FindBundleBinaryInExecSearchPaths()
/llvm-project/lldb/source/Plugins/StructuredData/DarwinLog/
H A DStructuredDataDarwinLog.cpp1438 launch_info.GetEnvironment().erase("OS_ACTIVITY_DT_MODE"); in FilterLaunchInfo()
1442 launch_info.GetEnvironment()["IDE_DISABLED_OS_ACTIVITY_DT_MODE"] = "1"; in FilterLaunchInfo()
1455 launch_info.GetEnvironment()["OS_ACTIVITY_MODE"] = env_var_value; in InitCompletionHookCallback()

12