about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/debuginfo/source_loc.rs
AgeCommit message (Collapse)AuthorLines
2020-08-30mv compiler to compiler/mark-61/+0
2020-02-26Use byte offsets when emitting debuginfo columnsTomasz Miąsko-14/+39
2020-02-26Emit 1-based column numbers in debuginfoTomasz Miąsko-1/+2
The debuginfo column numbers are 1-based. The value 0 indicates that no column has been specified. Translate 0-based column numbers to 1-based when emitting debug information.
2020-02-08rustc_codegen_ssa: remove unnecessary source_locations_enabled.Eduard-Mihai Burtescu-24/+0
2020-02-08rustc_codegen_llvm: remove InternalDebugLocation and simplify dbg_var_addr.Eduard-Mihai Burtescu-47/+27
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-1/+1
2019-12-22Format the worldMark Rousskov-17/+10
2019-12-11rustc: Link LLVM directly into rustc againAlex Crichton-0/+1
This commit builds on #65501 continue to simplify the build system and compiler now that we no longer have multiple LLVM backends to ship by default. Here this switches the compiler back to what it once was long long ago, which is linking LLVM directly to the compiler rather than dynamically loading it at runtime. The `codegen-backends` directory of the sysroot no longer exists and all relevant support in the build system is removed. Note that `rustc` still supports a dynamically loaded codegen backend as it did previously, it just no longer supports dynamically loaded codegen backends in its own sysroot. Additionally as part of this the `librustc_codegen_llvm` crate now once again explicitly depends on all of its crates instead of implicitly loading them through the sysroot. This involved filling out its `Cargo.toml` and deleting all the now-unnecessary `extern crate` annotations in the header of the crate. (this in turn required adding a number of imports for names of macros too). The end results of this change are: * Rustbuild's build process for the compiler as all the "oh don't forget the codegen backend" checks can be easily removed. * Building `rustc_codegen_llvm` is much simpler since it's simply another compiler crate. * Managing the dependencies of `rustc_codegen_llvm` is much simpler since it's "just another `Cargo.toml` to edit" * The build process should be a smidge faster because there's more parallelism in the main rustc build step rather than splitting `librustc_codegen_llvm` out to its own step. * The compiler is expected to be slightly faster by default because the codegen backend does not need to be dynamically loaded. * Disabling LLVM as part of rustbuild is still supported, supporting multiple codegen backends is still supported, and dynamic loading of a codegen backend is still supported.
2019-10-31rustc_codegen_ssa: move debuginfo scopes into FunctionDebugContext.Eduard-Mihai Burtescu-12/+3
2019-10-31rustc_codegen_ssa: move debuginfo-related things to a new mir::debuginfo module.Eduard-Mihai Burtescu-1/+1
2019-03-29Remove internal mutability from source_locations_enabledbjorn3-1/+1
2019-02-18librustc_codegen_llvm => 2018Taiki Endo-3/+3
2018-12-25Remove licensesMark Rousskov-10/+0
2018-11-29Use implicit deref instead of BuilderMethods::cx()bjorn3-2/+2
2018-11-16[eddyb] rustc_codegen_ssa: rename `interfaces` to `traits`.Eduard-Mihai Burtescu-1/+1
2018-11-16Finished moving backend-agnostic code to rustc_codegen_ssaDenis Merigoux-2/+2
2018-11-16Great separation of librustc_codegen_llvm: librustc_codegen_ssa compilesDenis Merigoux-12/+0
2018-11-16Generalized mir::codegen_mir (and all subsequent functions)Denis Merigoux-5/+5
2018-11-16Replaced Codegen field access by trait methodDenis Merigoux-3/+3
2018-11-16New files and folders for traitsDenis Merigoux-1/+1
Moved common enums to common
2018-11-16Generalized base.rs#call_memcpy and everything that it usesDenis Merigoux-1/+5
Generalized operand.rs#nontemporal_store and fixed tidy issues Generalized operand.rs#nontemporal_store's implem even more With a BuilderMethod trait implemented by Builder for LLVM Cleaned builder.rs : no more code duplication, no more ValueTrait Full traitification of builder.rs
2018-10-16end return statements and void expressions with a semicolonljedrz-1/+1
2018-10-09codegen_llvm/misc: improve common patternsljedrz-5/+2
2018-08-19mv codemap() source_map()Donato Sciarra-1/+1
2018-07-30rustc_codegen_llvm: use safe references for Value.Irina Popa-2/+1
2018-07-30rustc_codegen_llvm: use safe references for Metadata and DI*.Irina Popa-9/+12
2018-07-30rustc_codegen_llvm: move from empty enums to extern types.Irina Popa-7/+7
2018-07-02Emit column info in debuginfo for non msvc like targetsest31-4/+10
2018-05-17Rename trans to codegen everywhere.Irina Popa-0/+107