summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2024-12-16 13:03:39 +0300
committerrobot-piglet <[email protected]>2024-12-16 13:33:21 +0300
commit38aeb0f20ff2e8cb1eaa4c0ed0af40079de6471f (patch)
tree34c8fd505b8bb4e5ffe19036db0b90501aee11c0
parent7827e4e464727d19606f6c95fa1ad4bf279aab5b (diff)
Intermediate changes
commit_hash:fdd520cd0bac7f8a15914f2f3c116eeb81ca0767
-rw-r--r--build/scripts/wrapcc.py31
-rw-r--r--contrib/libs/cxxsupp/libgcc/cxxabi.cpp13
-rw-r--r--contrib/libs/cxxsupp/libgcc/cxxabi.h6
-rw-r--r--contrib/libs/cxxsupp/libgcc/stdcxx_bits.cpp12
-rw-r--r--contrib/libs/cxxsupp/libgcc/stdcxx_bits.h11
-rw-r--r--contrib/libs/cxxsupp/libgcc/ya.make26
6 files changed, 0 insertions, 99 deletions
diff --git a/build/scripts/wrapcc.py b/build/scripts/wrapcc.py
deleted file mode 100644
index 44dd9d619ac..00000000000
--- a/build/scripts/wrapcc.py
+++ /dev/null
@@ -1,31 +0,0 @@
-import argparse
-import os
-import sys
-
-
-WRAPCC_ARGS_END = '--wrapcc-end'
-
-
-def fix(source_file: str, source_root: str, build_root: str) -> list[str]:
- flags = []
- return flags
-
-
-def parse_args():
- delimiter = -1
- if WRAPCC_ARGS_END in sys.argv:
- delimiter = sys.argv.index(WRAPCC_ARGS_END)
- assert delimiter != -1, f"This wrapper should be called with {WRAPCC_ARGS_END} argument."
-
- parser = argparse.ArgumentParser()
- parser.add_argument('--source-file', required=True)
- parser.add_argument('--source-root', required=True)
- parser.add_argument('--build-root', required=True)
- cc_cmd = sys.argv[delimiter + 1:]
- return parser.parse_args(sys.argv[1:delimiter]), cc_cmd
-
-
-if __name__ == '__main__':
- args, cc_cmd = parse_args()
- cmd = cc_cmd + fix(args.source_file, args.source_root, args.build_root)
- os.execv(cmd[0], cmd)
diff --git a/contrib/libs/cxxsupp/libgcc/cxxabi.cpp b/contrib/libs/cxxsupp/libgcc/cxxabi.cpp
deleted file mode 100644
index fdb85e15af5..00000000000
--- a/contrib/libs/cxxsupp/libgcc/cxxabi.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "cxxabi.h"
-
-#include <new>
-
-extern "C" {
- void __cxa_throw_bad_array_length() {
- throw std::bad_alloc();
- }
-
- void __cxa_throw_bad_array_new_length() {
- throw std::bad_alloc();
- }
-}
diff --git a/contrib/libs/cxxsupp/libgcc/cxxabi.h b/contrib/libs/cxxsupp/libgcc/cxxabi.h
deleted file mode 100644
index b63490423fb..00000000000
--- a/contrib/libs/cxxsupp/libgcc/cxxabi.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#pragma once
-
-extern "C" {
- void __cxa_throw_bad_array_length() __attribute__((weak, noreturn));
- void __cxa_throw_bad_array_new_length() __attribute__((weak, noreturn));
-}
diff --git a/contrib/libs/cxxsupp/libgcc/stdcxx_bits.cpp b/contrib/libs/cxxsupp/libgcc/stdcxx_bits.cpp
deleted file mode 100644
index 0a34ef50c46..00000000000
--- a/contrib/libs/cxxsupp/libgcc/stdcxx_bits.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include "stdcxx_bits.h"
-
-#include <stdexcept>
-
-namespace std {
-
-void __throw_out_of_range_fmt(const char* __fmt, ...) {
- (void)__fmt;
- throw std::out_of_range("__throw_out_of_range_fmt");
-}
-
-}
diff --git a/contrib/libs/cxxsupp/libgcc/stdcxx_bits.h b/contrib/libs/cxxsupp/libgcc/stdcxx_bits.h
deleted file mode 100644
index 821ccb185c8..00000000000
--- a/contrib/libs/cxxsupp/libgcc/stdcxx_bits.h
+++ /dev/null
@@ -1,11 +0,0 @@
-#pragma once
-
-namespace std {
-
-void __throw_out_of_range_fmt(const char*, ...)
- __attribute__((__noreturn__))
- __attribute__((__format__(__printf__, 1, 2)))
- __attribute__((__weak__))
-;
-
-}
diff --git a/contrib/libs/cxxsupp/libgcc/ya.make b/contrib/libs/cxxsupp/libgcc/ya.make
deleted file mode 100644
index 7ea46dcd81a..00000000000
--- a/contrib/libs/cxxsupp/libgcc/ya.make
+++ /dev/null
@@ -1,26 +0,0 @@
-LIBRARY()
-
-WITHOUT_LICENSE_TEXTS()
-
-VERSION(Service-proxy-version)
-
-LICENSE(YandexOpen)
-
-# Placeholders for new GCC 4.9.2 C++ ABI which is not present on older systems
-
-SUBSCRIBER(
- somov
- g:contrib
- g:cpp-contrib
-)
-
-IF (NOT OS_WINDOWS)
- SRCS(
- cxxabi.cpp
- stdcxx_bits.cpp
- )
-ENDIF()
-
-NO_UTIL()
-
-END()