Skip to content

Commit 4b72981

Browse files
committed
Merge branch '2.17' of github.com:JuliaDebug/Cthulhu.jl into avi/invoke-codeinstance
2 parents 8d2b4fb + ac0a428 commit 4b72981

File tree

6 files changed

+886
-845
lines changed

6 files changed

+886
-845
lines changed

Project.toml

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,11 @@
1+
authors = ["Valentin Churavy <v.churavy@gmail.com> and contributors"]
12
name = "Cthulhu"
23
uuid = "f68482b8-f384-11e8-15f7-abe071a5a75f"
34
version = "2.16.4"
4-
authors = ["Valentin Churavy <v.churavy@gmail.com> and contributors"]
5-
6-
[deps]
7-
CodeTracking = "da1fd8a2-8d9e-5ec2-8556-3022fb5608a2"
8-
Compiler = "807dbc54-b67e-4c79-8afb-eafe4df6f2e1"
9-
FoldingTrees = "1eca21be-9b9b-4ed8-839a-6d8ae26b1781"
10-
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
11-
JuliaSyntax = "70703baa-626e-46a2-a12c-08ffd08c73b4"
12-
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
13-
Preferences = "21216c6a-2e73-6563-6e65-726566657250"
14-
REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
15-
TypedSyntax = "d265eb64-f81a-44ad-a842-4247ee1503de"
16-
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
17-
Unicode = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
18-
WidthLimitedIO = "b8c1c048-cf81-46c6-9da0-18c1d99e41f2"
195

206
[compat]
217
CodeTracking = "0.5, 1"
22-
Compiler = "0.0.3"
8+
Compiler = "0, 1"
239
FoldingTrees = "1"
2410
InteractiveUtils = "1.9"
2511
JuliaSyntax = "0.4"
@@ -32,7 +18,27 @@ Unicode = "1.9"
3218
WidthLimitedIO = "1"
3319
julia = "1.10"
3420

21+
[deps]
22+
CodeTracking = "da1fd8a2-8d9e-5ec2-8556-3022fb5608a2"
23+
FoldingTrees = "1eca21be-9b9b-4ed8-839a-6d8ae26b1781"
24+
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
25+
JuliaSyntax = "70703baa-626e-46a2-a12c-08ffd08c73b4"
26+
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
27+
Preferences = "21216c6a-2e73-6563-6e65-726566657250"
28+
REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
29+
TypedSyntax = "d265eb64-f81a-44ad-a842-4247ee1503de"
30+
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
31+
Unicode = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
32+
WidthLimitedIO = "b8c1c048-cf81-46c6-9da0-18c1d99e41f2"
33+
34+
[weakdeps]
35+
Compiler = "807dbc54-b67e-4c79-8afb-eafe4df6f2e1"
36+
37+
[extensions]
38+
CthulhuCompilerExt = "Compiler"
39+
3540
[extras]
41+
CthulhuCompilerExt = "a0401a94-d28a-5d0d-bd4d-a83640b62d95"
3642
DeepDiffs = "ab62b9b5-e342-54a8-a765-a90f495de1a6"
3743
PerformanceTestTools = "dc46b164-d16f-48ec-a853-60448fc869fe"
3844
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"

ext/CthulhuCompilerExt.jl

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module CthulhuCompilerExt
2+
3+
@static if VERSION v"1.12.0-DEV.1581"
4+
using Compiler: Compiler as CC
5+
using Compiler.IRShow: IRShow
6+
using Cthulhu: Cthulhu
7+
8+
function __init__()
9+
Cthulhu.CTHULHU_MODULE[] = @__MODULE__
10+
end
11+
12+
include("../src/CthulhuBase.jl")
13+
end
14+
15+
end

0 commit comments

Comments
 (0)