Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 538578 Details for
Bug 655140
sys-devel/llvm-5.0.2 invalid C++ code (detected by gcc-8.1.0)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to resolve issue for llvm:5
gcc-8.patch (text/plain), 1.27 KB, created by
Ben Chaney
on 2018-07-06 15:51:00 UTC
(
hide
)
Description:
Patch to resolve issue for llvm:5
Filename:
MIME Type:
Creator:
Ben Chaney
Created:
2018-07-06 15:51:00 UTC
Size:
1.27 KB
patch
obsolete
>From 5cea35478aaaac7728a50cbafd3770f96162f7ac Mon Sep 17 00:00:00 2001 >From: Tilmann Scheller <tschelle@redhat.com> >Date: Thu, 1 Feb 2018 11:40:01 -0600 >Subject: [PATCH] Fix return type in ORC readMem() client interface. > >GCC 8.0.1 detects the type mismatch and causes the compilation to fail. Clang >and earlier versions of GCC don't detect the issue. > >Fixes rhbz#1540620. >--- > include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h b/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h >index da02250ba16..bed472e2e0e 100644 >--- a/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h >+++ b/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h >@@ -713,8 +713,8 @@ private: > > uint32_t getTrampolineSize() const { return RemoteTrampolineSize; } > >- Expected<std::vector<char>> readMem(char *Dst, JITTargetAddress Src, >- uint64_t Size) { >+ Expected<std::vector<uint8_t>> readMem(char *Dst, JITTargetAddress Src, >+ uint64_t Size) { > // Check for an 'out-of-band' error, e.g. from an MM destructor. > if (ExistingError) > return std::move(ExistingError); >-- >2.16.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 655140
:
530300
|
530358
| 538578