Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 504464 Details for
Bug 637638
media-libs/mesa-17.1.* gallium driver does not build with llvm 5
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
llvm 5 compatibility patch
mesa-17-gallium-llvm5-compat.diff (text/plain), 1.28 KB, created by
Carlo
on 2017-11-15 22:07:16 UTC
(
hide
)
Description:
llvm 5 compatibility patch
Filename:
MIME Type:
Creator:
Carlo
Created:
2017-11-15 22:07:16 UTC
Size:
1.28 KB
patch
obsolete
>diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp >index 2a388cbfaf2..0e4a5310897 100644 >--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp >+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp >@@ -342,14 +342,20 @@ class DelegatingJITMemoryManager : public BaseMemoryManager { > virtual void registerEHFrames(uint8_t *Addr, uint64_t LoadAddr, size_t Size) { > mgr()->registerEHFrames(Addr, LoadAddr, Size); > } >- virtual void deregisterEHFrames(uint8_t *Addr, uint64_t LoadAddr, size_t Size) { >- mgr()->deregisterEHFrames(Addr, LoadAddr, Size); >- } > #else > virtual void registerEHFrames(llvm::StringRef SectionData) { > mgr()->registerEHFrames(SectionData); > } > #endif >+#if HAVE_LLVM >= 0x0500 >+ virtual void deregisterEHFrames() { >+ mgr()->deregisterEHFrames(); >+ } >+#elif HAVE_LLVM >= 0x0304 >+ virtual void deregisterEHFrames(uint8_t *Addr, uint64_t LoadAddr, size_t Size) { >+ mgr()->deregisterEHFrames(Addr, LoadAddr, Size); >+ } >+#endif > virtual void *getPointerToNamedFunction(const std::string &Name, > bool AbortOnFailure=true) { > return mgr()->getPointerToNamedFunction(Name, AbortOnFailure); > >
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 637638
: 504464