]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #38109 - tromey:main-subprogram, r=michaelwoerister
authorbors <bors@rust-lang.org>
Thu, 9 Feb 2017 17:09:50 +0000 (17:09 +0000)
committerbors <bors@rust-lang.org>
Thu, 9 Feb 2017 17:09:50 +0000 (17:09 +0000)
Emit DW_AT_main_subprogram

This changes rustc to emit DW_AT_main_subprogram on the "main" program.
This lets gdb suitably stop at the user's main in response to
"start" (rather than the library's main, which is what happens
currently).

Fixes #32620
r? michaelwoerister

1  2 
src/librustc_llvm/ffi.rs
src/librustc_trans/debuginfo/mod.rs
src/rustllvm/RustWrapper.cpp

Simple merge
Simple merge
Simple merge