aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorMateusz Mikuła <oss@mateuszmikula.dev>2025-05-02 10:02:51 +0200
committerGitHub <noreply@github.com>2025-05-02 11:02:51 +0300
commit8a84a19cf9ccbc1d0878f51b0466dc3a3b93dbe3 (patch)
tree749cbe8f5723d203649c41313db19f3e0815b4e5 /lldb/source/Commands/CommandObjectProcess.cpp
parent9bc20fbbadb18a1c3415d4442066ed35a6bcc175 (diff)
downloadllvm-8a84a19cf9ccbc1d0878f51b0466dc3a3b93dbe3.zip
llvm-8a84a19cf9ccbc1d0878f51b0466dc3a3b93dbe3.tar.gz
llvm-8a84a19cf9ccbc1d0878f51b0466dc3a3b93dbe3.tar.bz2
[LLVM][Cygwin] Fix Signals compatibility with Cygwin API (#138117)
Cygwin types sometimes do not match Linux exactly. Like in this case: ``` In file included from /h/projects/llvm-project/llvm/include/llvm/Support/Error.h:23, from /h/projects/llvm-project/llvm/include/llvm/Support/FileSystem.h:34, from /h/projects/llvm-project/llvm/lib/Support/Signals.cpp:22: /h/projects/llvm-project/llvm/include/llvm/Support/Format.h: In instantiation of ‘llvm::format_object<Ts>::format_object(const char*, const Ts& ...) [with Ts = {int, char [4096]}]’: /h/projects/llvm-project/llvm/include/llvm/Support/Format.h:126:10: required from ‘llvm::format_object<Ts ...> llvm::format(const char*, const Ts& ...) [with Ts = {int, char [4096]}]’ /h/projects/llvm-project/llvm/lib/Support/Unix/Signals.inc:850:19: required from here /h/projects/llvm-project/llvm/include/llvm/Support/Format.h:106:34: error: no matching function for call to ‘std::tuple<int, char [4096]>::tuple(const int&, const char [4096])’ 106 | : format_object_base(fmt), Vals(vals...) { | ^~~~~~~~~~~~~ ``` Casting here is safe and solves the issue.
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions