Skip to content

Instantly share code, notes, and snippets.

@TTimo
Created July 15, 2013 00:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TTimo/5996746 to your computer and use it in GitHub Desktop.
Save TTimo/5996746 to your computer and use it in GitHub Desktop.
lldb Linux compile fix, following rev 186211
Index: source/Host/linux/Host.cpp
===================================================================
--- source/Host/linux/Host.cpp (revision 186297)
+++ source/Host/linux/Host.cpp (working copy)
@@ -341,7 +341,7 @@
ModuleSpecList specs;
FileSpec filespec (exe_path, false);
- const size_t num_specs = ObjectFile::GetModuleSpecifications (filespec, 0, specs);
+ const size_t num_specs = ObjectFile::GetModuleSpecifications (filespec, 0, 0, specs);
// GetModuleSpecifications() could fail if the executable has been deleted or is locked.
// But it shouldn't return more than 1 architecture.
assert(num_specs <= 1 && "Linux plugin supports only a single architecture");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment