dart-sdk/build/config
Vyacheslav Egorov 5ddb1b8ea7 [vm/service] Use getline to read /proc/self/smaps
Previously the code was using `fgets` with a fixed
size buffer. This lead to a confusing behavior where
lines longer than 255 characters would be read
in multiple chunks and cause crashes in the parsing code.

Additionally make extraction of the path component slightly
more robust by searching for path field forward rather than
backwards. Path might contain white space and searching
backwards might stumble on that.

This is a reland of 95474f44f1
with changes to android min-sdk to make android ARM builds
succeed (getline requires SDK 18+).

TEST=manually

Change-Id: I8b36fcd178680aed7f856bc884a5cd188a5f6e85
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/319480
Commit-Queue: Slava Egorov <vegorov@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2023-08-09 12:59:31 +00:00
..
android [vm/service] Use getline to read /proc/self/smaps 2023-08-09 12:59:31 +00:00
c++ [build] Build the standard c++ library from source. 2023-05-22 23:38:58 +00:00
clang [build] Re-add linker flags to create empty section in AOT runtime. 2022-10-07 09:26:18 +00:00
compiler [build] Build the standard c++ library from source. 2023-05-22 23:38:58 +00:00
gcc [build] Relativize DW_AT_comp_dir to the source root instead of the build root. 2023-05-25 18:00:27 +00:00
linux [build] Build the standard c++ library from source. 2023-05-22 23:38:58 +00:00
mac [build] Build the standard c++ library from source. 2023-05-22 23:38:58 +00:00
sanitizers [build] Build the standard c++ library from source. 2023-05-22 23:38:58 +00:00
templates
win [build] Embed the default manifest on Windows. 2023-06-12 22:04:21 +00:00
arm.gni
BUILD.gn Reland "[build, vm] Access TLS with less code." 2023-03-02 23:07:16 +00:00
BUILDCONFIG.gn [build] Build libcxx from source when using TSAN. 2023-07-18 23:01:12 +00:00
host_byteorder.gni
locales.gni
sysroot.gni [infra] Add sysroot config for alpine linux riscv64 2023-06-13 09:53:05 +00:00