Peter Collingbourne

Results 25 issues of Peter Collingbourne

``` > cat test.ii enum class a : int; enum class b : int; b x{a{}}; > ~/l/ra/bin/clang++ test.ii -std=c++17 clang: ../clang/lib/Sema/SemaOverload.cpp:424: clang::NarrowingKind clang::StandardConversionSequence::getNarrowingKind(clang::ASTContext &, const clang::Expr *, clang::APValue &,...

clang:frontend

Sometimes I need to read all elements of a dynamically sized array. This can be slow, especially with a high latency remote debugging connection to the target. So I would...

We currently search for kernel modules by reading the depmod `modules.dep.bin` file. However, not all Linux-based platforms use depmod, at least not in such a way that would be compatible...

The current C string reading implementation is inefficient, especially for low bandwidth remote targets, as it needs to do a separate segment read (including a fresh page table lookup) for...

OpenOCD may be used to establish a JTAG or SWD connection to a remote debugging target. This patch adds the necessary support to drgn for debugging a remote target using...

## Expected Behavior Declarations using va_list are ignored when targeting aarch64, same as on x86. ## Actual Behavior Code is generated that causes a build error. When targeting aarch64 Linux:...

bug

The use of `wchar_t` with `-fshort-wchar` to get UTF-16 strings is non-standard and can lead to porting issues. So let's switch to `char16_t`, which also requires switching the project to...

Bionic supports it since API level 23. See: https://github.com/aosp-mirror/platform_bionic/blob/2215ad406b253f12e270cdd0876e19e9df2aa6d4/libc/include/stdlib.h

S-waiting-on-review

Bionic, uclibc and emscripten all support these functions. See: https://github.com/aosp-mirror/platform_bionic/blob/2215ad406b253f12e270cdd0876e19e9df2aa6d4/libc/include/time.h https://github.com/wbx-github/uclibc-ng/blame/fc3b6dc46a80e1f4aa468472aa6c7083f3bc6581/include/time.h https://github.com/emscripten-core/emscripten/blob/e25fa53069665c1f6c3be4ba5ed1d6ae82339849/system/lib/libc/musl/include/time.h

S-waiting-on-review

The rsync tool can be used to efficiently copy images from an Android build directory into the container by sending only the file differences. rsync needs to be installed on...