Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport to 18] Include LLVMSPIRVLib.h in SPIRVError.cpp (#2377) #2380

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

svenvh
Copy link
Member

@svenvh svenvh commented Feb 23, 2024

The prototype for getErrorMessage() is declared in LLVMSPIRVLib.h, but SPIRVError.cpp defining that function did not include LLVMSPIRVLib.h. This can be problematic for builds that use -fvisibility=hidden.

Fixes #2376

(cherry picked from commit 81f78d2)

…sGroup#2377)

The prototype for `getErrorMessage()` is declared in `LLVMSPIRVLib.h`,
but `SPIRVError.cpp` defining that function did not include
`LLVMSPIRVLib.h`.  This can be problematic for builds that use
`-fvisibility=hidden`.

Fixes KhronosGroup#2376

(cherry picked from commit 81f78d2)
@MrSidims MrSidims merged commit e6c001c into KhronosGroup:llvm_release_180 Feb 26, 2024
9 checks passed
@svenvh svenvh deleted the backport-include-18 branch February 27, 2024 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants