mirror of
https://github.com/asherkin/accelerator.git
synced 2025-12-06 18:08:30 +00:00
* overhaul the repository add protobuf change repo url try to restore github python syntax highlighter move breakpad into third_party, update packagescript * AMBuildifying remove unnecessary files Move the git patching into ambuild move lss to a patch Add windows compilation support remove breakpad.bat move postlink libs * Overhaul CI (#4) * Dockerbuild (#5) * make cwd_cmd spew stdout and stderr * add proper docker build support * Overhaul ci (#6) * Setup CI * fix checkout * fix yaml syntax * no fail fast * setup CI cache * Fix pip install * remove pip git * update actions, ditch node 16 * small syntax cleanups * more CI changes * github doc lied --------- Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com> * final push for perfect dockerbuilds in every scenario that i have been able to find * rename cicd->dockerbuild --------- Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com> * Add readme, remode duplicate -fPIC update names of dockerbuild folder in sh files * cleanup dockerfile (#7) * Update 0002-Write-FUNC-records-instead-of-PUBLIC-for-ELF-symbols.patch * Statically link libz, libgcc & libstdc++ * fix submodule path * Review change + comment patch --------- Co-authored-by: Kenzzer <kenzzer@users.noreply.github.com> Co-authored-by: Benoist <14257866+Kenzzer@users.noreply.github.com>
26 lines
1019 B
Diff
26 lines
1019 B
Diff
From 2f217812634d5e6c56f0cf9e7a4c9b7fb390e954 Mon Sep 17 00:00:00 2001
|
|
From: patches <patches@localhost>
|
|
Date: Sat, 20 Jul 2019 15:52:37 +0100
|
|
Subject: [PATCH 3/5] Support compilation on VS 2015
|
|
|
|
---
|
|
src/common/windows/pe_util.cc | 1 +
|
|
src/common/windows/pe_util.h | 2 +-
|
|
src/tools/windows/dump_syms/dump_syms.cc | 1 +
|
|
3 files changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
|
|
diff --git a/src/common/windows/pe_util.h b/src/common/windows/pe_util.h
|
|
index 6c6b364f..80aba5e5 100644
|
|
--- a/src/common/windows/pe_util.h
|
|
+++ b/src/common/windows/pe_util.h
|
|
@@ -59,7 +59,7 @@ wstring GenerateDebugIdentifier(DWORD age, DWORD signature);
|
|
|
|
// Converts |machine| enum value to the corresponding string used by Breakpad.
|
|
// The enum is IMAGE_FILE_MACHINE_*, contained in winnt.h.
|
|
-constexpr const wchar_t* FileHeaderMachineToCpuString(WORD machine) {
|
|
+static inline const wchar_t* FileHeaderMachineToCpuString(WORD machine) {
|
|
switch (machine) {
|
|
case IMAGE_FILE_MACHINE_I386: {
|
|
return L"x86";
|