Skip to content

Commit ba0b7e9

Browse files
authored
Add missing include of llvm-version.h in codegen_shared.h (#43683)
Without this, `JL_LLVM_VERSION` is undefined and defaults to 0, so the branch for older LLVM is always taken.
1 parent 68e120f commit ba0b7e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/codegen_shared.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#define STR(csym) #csym
1111
#define XSTR(csym) STR(csym)
1212
#include "julia.h"
13+
#include "llvm-version.h"
1314

1415
enum AddressSpace {
1516
Generic = 0,

0 commit comments

Comments
 (0)