File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 068c71f11ca21cefd946c2e44c6efa35b425c1d3
2
+ refs/heads/master: 215060b72b71db9c7ca5810fcf6ebce3d4b04ea3
Original file line number Diff line number Diff line change 13
13
* .dSYM
14
14
* .d
15
15
* .o
16
+ * .ll
17
+ * .bc
16
18
* .aux
17
19
* .cp
18
20
* .fn
Original file line number Diff line number Diff line change @@ -189,6 +189,7 @@ ifdef CFG_LLVM_CONFIG
189
189
lltrans.ml llemit.ml)
190
190
LLC := "$(shell $(CFG_LLVM_CONFIG ) --bindir) /llc"
191
191
CFG_LLC_CFLAGS := -march=x86
192
+ LLVM-DIS := "$(shell $(CFG_LLVM_CONFIG ) --bindir) /llvm-dis"
192
193
$(info cfg : found llvm-config at $(CFG_LLVM_CONFIG ) )
193
194
else
194
195
VARIANT =x86
@@ -664,6 +665,11 @@ test/bench/shootout/%.x86$(CFG_EXE_SUFFIX): test/bench/shootout/%.rs $(REQ)
664
665
@$(call CFG_ECHO, compile [x86]: $< )
665
666
$(BOOT ) -o $@ $<
666
667
668
+ % .ll : % .bc
669
+ @$(call CFG_ECHO, dis [llvm]: $< )
670
+ $(CFG_QUIET )$(LLVM-DIS ) -o $@ $<
671
+
672
+
667
673
% .s : % .bc
668
674
@$(call CFG_ECHO, compile [llvm]: $< )
669
675
$(CFG_QUIET )$(LLC ) $(CFG_LLC_CFLAGS ) -o $@ $<
You can’t perform that action at this time.
0 commit comments