Bug 1150642 - Make mozilla_sampler_save_profile_to_file callable from lldb in Nightly builds. r=jrmuizel

--HG--
extra : rebase_source : deaf6793ddc54c487341978c6021f7b0da1c7f57
This commit is contained in:
Markus Stange 2015-04-01 12:08:34 -04:00
parent 7992a7d2ae
commit d18985cfe1

View File

@ -57,7 +57,11 @@ char* mozilla_sampler_get_profile();
JSObject *mozilla_sampler_get_profile_data(JSContext *aCx);
void mozilla_sampler_save_profile_to_file(const char* aFilename);
// Make this function easily callable from a debugger in a build without
// debugging information (work around http://llvm.org/bugs/show_bug.cgi?id=22211)
extern "C" {
void mozilla_sampler_save_profile_to_file(const char* aFilename);
}
const char** mozilla_sampler_get_features();