Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5165d43

Browse files
committed
meson: Add some missing LLVM function checks
The checks forHAVE_DECL_LLVMCREATEGDBREGISTRATIONLISTENER andHAVE_DECL_LLVMCREATEPERFJITEVENTLISTENERare in configure but are missing on the meson side. This adds those.Reported-by: Heikki Linnakangas <hlinnaka@iki.fi>Discussion:https://www.postgresql.org/message-id/5539b16c-cff7-46d5-9621-c3fb6b549e9e@iki.fi
1 parentca89db5 commit5165d43

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎meson.build

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2301,6 +2301,14 @@ decl_checks += [
23012301
['pwritev','sys/uio.h'],
23022302
]
23032303

2304+
# Check presence of some optional LLVM functions.
2305+
if llvm.found()
2306+
decl_checks+= [
2307+
['LLVMCreateGDBRegistrationListener','llvm-c/ExecutionEngine.h'],
2308+
['LLVMCreatePerfJITEventListener','llvm-c/ExecutionEngine.h'],
2309+
]
2310+
endif
2311+
23042312
foreachc: decl_checks
23052313
func= c.get(0)
23062314
header= c.get(1)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp