mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-28 12:54:24 +01:00
Style changes
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@265 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
d906d0f7c9
commit
d6f0f92de3
@ -65,12 +65,12 @@ void BreakpadNlistTest::CompareToNM() {
|
||||
breakpad_nlist symbolList[2];
|
||||
breakpad_nlist &list = symbolList[0];
|
||||
|
||||
memset(symbolList,0, sizeof(breakpad_nlist)*2);
|
||||
memset(symbolList, 0, sizeof(breakpad_nlist)*2);
|
||||
const char *symbolNames[2];
|
||||
symbolNames[0] = (const char*)symbolName;
|
||||
symbolNames[1] = "\0";
|
||||
breakpad_nlist_64("/usr/lib/dyld",&list, symbolNames);
|
||||
uint64_t nmAddr = strtol(oneNMAddr,NULL,16);
|
||||
breakpad_nlist_64("/usr/lib/dyld", &list, symbolNames);
|
||||
uint64_t nmAddr = strtol(oneNMAddr, NULL, 16);
|
||||
if (!IsSymbolMoreThanOnceInDyld(symbolName)) {
|
||||
CPTAssert(nmAddr == symbolList[0].n_value);
|
||||
}
|
||||
|
@ -41,7 +41,6 @@
|
||||
#include <CPlusTest/CPlusTest.h>
|
||||
|
||||
class BreakpadNlistTest : public TestCase {
|
||||
|
||||
private:
|
||||
|
||||
// nm dumps multiple addresses for the same symbol in
|
||||
|
Loading…
Reference in New Issue
Block a user