Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mockingbirdnest/glog
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: fa97313eef61
Choose a base ref
...
head repository: mockingbirdnest/glog
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3e2dfea075df
Choose a head ref
  • 1 commit
  • 6 files changed
  • 1 contributor

Commits on Nov 30, 2019

  1. vectorcall

    eggrobin committed Nov 30, 2019
    Copy the full SHA
    3e2dfea View commit details
8 changes: 4 additions & 4 deletions src/googletest.h
Original file line number Diff line number Diff line change
@@ -586,21 +586,21 @@ void (*g_new_hook)() = NULL;

_END_GOOGLE_NAMESPACE_

void* operator new(size_t size) {
void* __cdecl operator new(size_t size) {
if (GOOGLE_NAMESPACE::g_new_hook) {
GOOGLE_NAMESPACE::g_new_hook();
}
return malloc(size);
}

void* operator new[](size_t size) {
void* __cdecl operator new[](size_t size) {
return ::operator new(size);
}

void operator delete(void* p) {
void __cdecl operator delete(void* p) {
free(p);
}

void operator delete[](void* p) {
void __cdecl operator delete[](void* p) {
::operator delete(p);
}
2 changes: 1 addition & 1 deletion src/signalhandler.cc
Original file line number Diff line number Diff line change
@@ -268,7 +268,7 @@ static pthread_t* g_entered_thread_id_pointer = NULL;
// Dumps signal and stack frame information, and invokes the default
// signal handler once our job is done.
#if defined(OS_WINDOWS)
void FailureSignalHandler(int signal_number)
void __cdecl FailureSignalHandler(int signal_number)
#else
void FailureSignalHandler(int signal_number,
siginfo_t *signal_info,
2 changes: 2 additions & 0 deletions vsprojects/libglog/libglog.vcxproj
Original file line number Diff line number Diff line change
@@ -65,6 +65,7 @@
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<CallingConvention>VectorCall</CallingConvention>
</ClCompile>
<Link>
<GenerateDebugInformation>DebugFastLink</GenerateDebugInformation>
@@ -86,6 +87,7 @@
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<WholeProgramOptimization>false</WholeProgramOptimization>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<CallingConvention>VectorCall</CallingConvention>
</ClCompile>
<Link>
<GenerateDebugInformation>DebugFastLink</GenerateDebugInformation>
2 changes: 2 additions & 0 deletions vsprojects/libglog_static/libglog_static.vcxproj
Original file line number Diff line number Diff line change
@@ -62,6 +62,7 @@
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<CallingConvention>VectorCall</CallingConvention>
</ClCompile>
<Lib>
<LinkTimeCodeGeneration>false</LinkTimeCodeGeneration>
@@ -79,6 +80,7 @@
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<WholeProgramOptimization>false</WholeProgramOptimization>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<CallingConvention>VectorCall</CallingConvention>
</ClCompile>
<Lib>
<LinkTimeCodeGeneration>false</LinkTimeCodeGeneration>
2 changes: 2 additions & 0 deletions vsprojects/logging_unittest/logging_unittest.vcxproj
Original file line number Diff line number Diff line change
@@ -63,6 +63,7 @@
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<CallingConvention>VectorCall</CallingConvention>
</ClCompile>
<Link>
<GenerateDebugInformation>DebugFastLink</GenerateDebugInformation>
@@ -84,6 +85,7 @@
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<WholeProgramOptimization>false</WholeProgramOptimization>
<CallingConvention>VectorCall</CallingConvention>
</ClCompile>
<Link>
<GenerateDebugInformation>DebugFastLink</GenerateDebugInformation>
Original file line number Diff line number Diff line change
@@ -60,6 +60,7 @@
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<CallingConvention>VectorCall</CallingConvention>
</ClCompile>
<Link>
<GenerateDebugInformation>DebugFastLink</GenerateDebugInformation>
@@ -78,6 +79,7 @@
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<WholeProgramOptimization>false</WholeProgramOptimization>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<CallingConvention>VectorCall</CallingConvention>
</ClCompile>
<Link>
<GenerateDebugInformation>DebugFastLink</GenerateDebugInformation>