[PATCH] D12623: [llgo] clear data layout before adding module to JIT
Mehdi AMINI via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 4 00:05:16 PDT 2015
joker.eph added a subscriber: joker.eph.
================
Comment at: cmd/llgoi/llgoi.go:155
@@ +154,3 @@
+ // Clear the data layout; the JIT wants to set it.
+ module.Module.SetDataLayout("")
+
----------------
There i something fishy, why is the datalayout set to something else than the target in the first place?
http://reviews.llvm.org/D12623
More information about the llvm-commits
mailing list