Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 616410 Details for
Bug 711014
sys-devel/llvm-roc-3.1.0: compilation fails with undefined reference to 'llvm::raw_string_ostream::current_pos() const'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patches raw_ostream.h and raw_ostream.cpp
llvm-roc-3.1.0-raw_ostream.patch (text/plain), 1.44 KB, created by
ron widler
on 2020-02-28 08:35:59 UTC
(
hide
)
Description:
patches raw_ostream.h and raw_ostream.cpp
Filename:
MIME Type:
Creator:
ron widler
Created:
2020-02-28 08:35:59 UTC
Size:
1.44 KB
patch
obsolete
>diff -Naur llvm-project-roc-ocl-3.1.0.orig/llvm/include/llvm/Support/raw_ostream.h llvm-project-roc-ocl-3.1.0/llvm/include/llvm/Support/raw_ostream.h >--- llvm-project-roc-ocl-3.1.0.orig/llvm/include/llvm/Support/raw_ostream.h 2020-01-22 15:40:05.000000000 +0800 >+++ llvm-project-roc-ocl-3.1.0/llvm/include/llvm/Support/raw_ostream.h 2020-02-28 15:54:35.855879316 +0800 >@@ -519,9 +519,7 @@ > /// See raw_ostream::write_impl. > void write_impl(const char *Ptr, size_t Size) override; > >- /// Return the current position within the stream, not counting the bytes >- /// currently in the buffer. >- uint64_t current_pos() const override { return OS.size(); } >+ uint64_t current_pos() const override; > > public: > explicit raw_string_ostream(std::string &O) : OS(O) {} >diff -Naur llvm-project-roc-ocl-3.1.0.orig/llvm/lib/Support/raw_ostream.cpp llvm-project-roc-ocl-3.1.0/llvm/lib/Support/raw_ostream.cpp >--- llvm-project-roc-ocl-3.1.0.orig/llvm/lib/Support/raw_ostream.cpp 2020-01-22 15:40:05.000000000 +0800 >+++ llvm-project-roc-ocl-3.1.0/llvm/lib/Support/raw_ostream.cpp 2020-02-28 15:55:34.681799515 +0800 >@@ -895,6 +895,10 @@ > // raw_string_ostream > //===----------------------------------------------------------------------===// > >+/// Return the current position within the stream, not counting the bytes >+/// currently in the buffer. >+uint64_t raw_string_ostream::current_pos() const { return OS.size(); } >+ > raw_string_ostream::~raw_string_ostream() { > flush(); > }
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 711014
: 616410 |
616412