Build with LLVM 3.6 broken on HEAD

Since #27076, build with LLVM 3.6 is broken on HEAD.

$ make
compile: x86_64-unknown-linux-gnu/rt/rust_try.o
/usr/lib/llvm-3.6/bin/llc: /development/sanxiyn/rust/src/rt/rust_try.ll:18:5: error: expected '{' in function body
    personality i8* bitcast (i32 (...)* @rust_eh_personality_catch to i8*)

Yes, that’s right. To fix this will take duplicating these bits of LLVM IR.

@alexcrichton has the fix.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.