Skip to content

Instantly share code, notes, and snippets.

@TTimo TTimo/gist:5996746
Created Jul 15, 2013

Embed
What would you like to do?
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
You can’t perform that action at this time.