Skip to content

Commit 92c5738

Browse files
committed
auto merge of #12207 : alexcrichton/rust/up-llvm, r=sfackler
Includes an upstream commit by pcwalton to improve codegen of our enums getting moved around. This also introduces a new commit on top of our stack of patches to fix a mingw32 build issue. I have submitted the patch upstream: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140210/204653.html I verified that this builds on the try bots, which amazes me because I think that c++11 is turned on now, but I guess we're still lucky! Closes #10613 (pcwalton's patch landed) Closes #11992 (llvm has removed these options)
2 parents 18477ac + 804955f commit 92c5738

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

mk/platform.mk

+3-3
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ CFG_GCCISH_DEF_FLAG_arm-apple-darwin := -Wl,-exported_symbols_list,
208208
CFG_GCCISH_PRE_LIB_FLAGS_arm-apple-darwin :=
209209
CFG_GCCISH_POST_LIB_FLAGS_arm-apple-darwin :=
210210
CFG_DEF_SUFFIX_arm-apple-darwin := .darwin.def
211-
CFG_LLC_FLAGS_arm-apple-darwin := -arm-enable-ehabi -arm-enable-ehabi-descriptors
211+
CFG_LLC_FLAGS_arm-apple-darwin :=
212212
CFG_INSTALL_NAME_arm-apple-darwin = -Wl,-install_name,@rpath/$(1)
213213
CFG_LIBUV_LINK_FLAGS_arm-apple-darwin =
214214
CFG_EXE_SUFFIX_arm-apple-darwin :=
@@ -290,7 +290,7 @@ CFG_GCCISH_DEF_FLAG_arm-linux-androideabi := -Wl,--export-dynamic,--dynamic-list
290290
CFG_GCCISH_PRE_LIB_FLAGS_arm-linux-androideabi := -Wl,-whole-archive
291291
CFG_GCCISH_POST_LIB_FLAGS_arm-linux-androideabi := -Wl,-no-whole-archive
292292
CFG_DEF_SUFFIX_arm-linux-androideabi := .android.def
293-
CFG_LLC_FLAGS_arm-linux-androideabi := -arm-enable-ehabi -arm-enable-ehabi-descriptors
293+
CFG_LLC_FLAGS_arm-linux-androideabi :=
294294
CFG_INSTALL_NAME_arm-linux-androideabi =
295295
CFG_LIBUV_LINK_FLAGS_arm-linux-androideabi =
296296
CFG_EXE_SUFFIX_arm-linux-androideabi :=
@@ -320,7 +320,7 @@ CFG_GCCISH_DEF_FLAG_arm-unknown-linux-gnueabihf := -Wl,--export-dynamic,--dynami
320320
CFG_GCCISH_PRE_LIB_FLAGS_arm-unknown-linux-gnueabihf := -Wl,-whole-archive
321321
CFG_GCCISH_POST_LIB_FLAGS_arm-unknown-linux-gnueabihf := -Wl,-no-whole-archive
322322
CFG_DEF_SUFFIX_arm-unknown-linux-gnueabihf := .linux.def
323-
CFG_LLC_FLAGS_arm-unknown-linux-gnueabihf := -arm-enable-ehabi -arm-enable-ehabi-descriptors
323+
CFG_LLC_FLAGS_arm-unknown-linux-gnueabihf :=
324324
CFG_INSTALL_NAME_ar,-unknown-linux-gnueabihf =
325325
CFG_LIBUV_LINK_FLAGS_arm-unknown-linux-gnueabihf =
326326
CFG_EXE_SUFFIX_arm-unknown-linux-gnueabihf :=

src/librustc/back/link.rs

-2
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,6 @@ pub mod write {
369369
llvm_c_strs.push(s);
370370
};
371371
add("rustc"); // fake program name
372-
add("-arm-enable-ehabi");
373-
add("-arm-enable-ehabi-descriptors");
374372
if vectorize_loop { add("-vectorize-loops"); }
375373
if vectorize_slp { add("-vectorize-slp"); }
376374
if sess.time_llvm_passes() { add("-time-passes"); }

src/llvm

Submodule llvm updated 879 files

src/rustllvm/llvm-auto-clean-trigger

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# If this file is modified, then llvm will be forcibly cleaned and then rebuilt.
22
# The actual contents of this file do not matter, but to trigger a change on the
33
# build bots then the contents should be changed so git updates the mtime.
4-
2014-01-27
4+
2014-02-11

0 commit comments

Comments
 (0)