Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions lldb/source/Host/openbsd/Host.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,7 @@ namespace lldb_private {
class ProcessLaunchInfo;
}

Environment Host::GetEnvironment() {
Environment env;
char *v;
char **var = environ;
for (; var != NULL && *var != NULL; ++var) {
v = strchr(*var, (int)'-');
if (v == NULL)
continue;
env.insert(v);
}
return env;
}
Environment Host::GetEnvironment() { return Environment(environ); }

static bool
GetOpenBSDProcessArgs(const ProcessInstanceInfoMatch *match_info_ptr,
Expand Down
Loading