rust/src/librustc/middle/trans
Kevin Ballard 5ca4cdc7b8 Remove inappropriate .to_c_str() in C_cstr()
LLVMConstStringInContext() doesn't need a null-terminated string. It
takes a length instead. Using .to_c_str() here triggers an ICE whenever
the string literal embeds a null, as in "\x00".
2013-08-15 01:33:10 -07:00
..
_match.rs debuginfo: Implemented proper handling of lexical scopes and variable shadowing. 2013-08-13 11:13:49 +02:00
adt.rs std: Rename Iterator.transform -> .map 2013-08-10 07:33:21 -07:00
asm.rs Add ToCStr method .with_c_str() 2013-08-15 01:33:10 -07:00
base.rs Add ToCStr method .with_c_str() 2013-08-15 01:33:10 -07:00
basic_block.rs Merge remote-tracking branch 'remotes/origin/master' into cleanup-iterators 2013-08-10 12:04:40 -07:00
build.rs add intrinsics for checked overflow add/sub/mul 2013-08-11 02:51:20 -04:00
builder.rs Add ToCStr method .with_c_str() 2013-08-15 01:33:10 -07:00
cabi_arm.rs remove obsolete foreach keyword 2013-08-03 22:48:02 -04:00
cabi_mips.rs core: option.map_consume -> option.map_move 2013-08-07 08:52:09 -07:00
cabi_x86_64.rs rustc: Fix for-range loops that can use iterators 2013-08-07 22:39:57 -04:00
cabi_x86.rs
cabi.rs std: Rename Iterator.transform -> .map 2013-08-10 07:33:21 -07:00
callee.rs trans: Rely on new AutoBorrowObj adjustment to match up object receivers 2013-08-11 14:01:19 -04:00
closure.rs Updated std::Option, std::Either and std::Result 2013-08-05 22:42:21 +02:00
common.rs Remove inappropriate .to_c_str() in C_cstr() 2013-08-15 01:33:10 -07:00
consts.rs Add ToCStr method .with_c_str() 2013-08-15 01:33:10 -07:00
context.rs Add ToCStr method .with_c_str() 2013-08-15 01:33:10 -07:00
controlflow.rs Add ToCStr method .with_c_str() 2013-08-15 01:33:10 -07:00
datum.rs New naming convention for ast::{node_id, local_crate, crate_node_id, blk_check_mode, ty_field, ty_method} 2013-07-29 16:16:48 +02:00
debuginfo.rs Add ToCStr method .with_c_str() 2013-08-15 01:33:10 -07:00
expr.rs Add ToCStr method .with_c_str() 2013-08-15 01:33:10 -07:00
foreign.rs auto merge of #8455 : nikomatsakis/rust/issue-5762-objects-dralston-d, r=graydon 2013-08-11 14:17:09 -07:00
glue.rs Add ToCStr method .with_c_str() 2013-08-15 01:33:10 -07:00
inline.rs remove obsolete foreach keyword 2013-08-03 22:48:02 -04:00
machine.rs
macros.rs
meth.rs Add ToCStr method .with_c_str() 2013-08-15 01:33:10 -07:00
mod.rs Elide unnecessary ret slot allocas 2013-08-10 11:04:50 +02:00
monomorphize.rs std: Transform.find_ -> .find 2013-08-10 07:33:22 -07:00
reflect.rs Update type visitor to use &Visitor and not @Visitor 2013-08-11 14:01:23 -04:00
tvec.rs Remove inappropriate .to_c_str() in C_cstr() 2013-08-15 01:33:10 -07:00
type_.rs Add ToCStr method .with_c_str() 2013-08-15 01:33:10 -07:00
type_of.rs Updated std::Option, std::Either and std::Result 2013-08-05 22:42:21 +02:00
type_use.rs add intrinsics for checked overflow add/sub/mul 2013-08-11 02:51:20 -04:00
uniq.rs Adapted trans::common::{block, fn_ctxt, scope_info} to new naming convention. 2013-07-23 15:38:55 +02:00
value.rs Elide unnecessary ret slot allocas 2013-08-10 11:04:50 +02:00
write_guard.rs New naming convention for ast::{node_id, local_crate, crate_node_id, blk_check_mode, ty_field, ty_method} 2013-07-29 16:16:48 +02:00