Skip to content

Commit

Permalink
[LLDB] wasm: Fix emscripten platform
Browse files Browse the repository at this point in the history
  • Loading branch information
jawilk committed Oct 1, 2022
1 parent 7a14bd2 commit 45931bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void PlatformLinux::Initialize() {
PlatformPOSIX::Initialize();

if (g_initialize_count++ == 0) {
#if defined(__linux__) && !defined(__ANDROID__)
#if (defined(__linux__) || defined(__EMSCRIPTEN__)) && !defined(__ANDROID__)
PlatformSP default_platform_sp(new PlatformLinux(true));
default_platform_sp->SetSystemArchitecture(HostInfo::GetArchitecture());
Platform::SetHostPlatform(default_platform_sp);
Expand Down

0 comments on commit 45931bc

Please sign in to comment.