Michael Woerister
|
08efbac758
|
Implement event filtering for self-profiler.
|
2019-04-18 17:03:53 +02:00 |
|
Wesley Wiser
|
56e434d84d
|
Use measureme in self-profiler
Related to #58372
Related to #58967
|
2019-04-12 20:27:29 -04:00 |
|
flip1995
|
69f74df429
|
Deny internal lints in librustc
|
2019-04-03 18:24:21 +02:00 |
|
Eduard-Mihai Burtescu
|
1a0f3a2856
|
rustc: streamline the Print/fmt::Display impls in ppaux and move them to ty::print::pretty.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
030cdc9729
|
rustc: remove obsolete hacks from ppaux, relating to normalization under HRTB.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
fb53bb9e2b
|
rustc: move Debug impls from ppaux to ty::structural_impls.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
9c424850e8
|
rustc: disconnect all the Debug functionality from ty::print.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
d0a1bf5c88
|
rustc: make util::ppaux private.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
800ddb367e
|
rustc: remove fields from ty::print::PrintConfig available from tcx.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
55871aad9a
|
rustc: split out the pretty-printing parts of ty::print into a separate module.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
5211e37b1d
|
rustc: don't pass Namespace explicitly, but rather track it in FmtPrinter.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
35e5123f51
|
rustc: support overriding type printing in ty::print::Printer.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
88d96b269c
|
rustc: support overriding region printing in ty::print::Printer.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
fc914aa88a
|
rustc: centralize region printing in ty::RegionKind's Print impl.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
cafd83d1d5
|
rustc: don't keep RegionHighlightMode in a thread-local.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
7c4eecef0b
|
rustc: pass ty::print::PrintCx by value.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
ab5d6fb302
|
rustc: remove the closure from ppaux's p! macro (by making ? implicit).
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
37e918526a
|
rustc: split off most of ty::print::PrintCx's fields into a separate struct.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
5616ca857d
|
rustc: uniformize ty::print's error handling by requiring Result.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
972af5e808
|
rustc: rename ppaux' print macro to just p and make its cx input implicit.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
387ea61ec1
|
rustc: make ppaux' print macro use only one closure.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
df6650f38c
|
rustc: move ...::<impl ...> printing into pretty_path_qualified.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
aec5a48481
|
rustc: move <...>-less impl path special-case to pretty_path_qualified.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
a15bfc6f48
|
rustc: merge PrintCx::parameterized and def_path printing.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
b0fbca953f
|
rustc: integrate LocalPathPrinter's behavior into FmtPrinter.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
e0c75ff40d
|
rustc: rename item_path to def_path (except the module in ty).
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
3e1cef7007
|
rustc: pass Option<&Substs> and Namespace around in ty::item_path.
|
2019-03-15 13:25:10 +02:00 |
|
Eduard-Mihai Burtescu
|
2386168139
|
rustc: explicitly pass the namespace to PrintCx::parameterized.
|
2019-03-15 09:26:13 +02:00 |
|
Eduard-Mihai Burtescu
|
08d27441ec
|
rustc: move the formatter into ty::print::PrintCx.
|
2019-03-15 09:26:13 +02:00 |
|
Eduard-Mihai Burtescu
|
732b71a1ba
|
rustc: add a ty::RegionKind::display_outputs_anything method to avoid printing to a string.
|
2019-03-15 09:26:13 +02:00 |
|
Eduard-Mihai Burtescu
|
329b8ca818
|
rustc: always rely on '_ to be not printed by ty::Region itself.
|
2019-03-15 09:26:13 +02:00 |
|
Eduard-Mihai Burtescu
|
1c2a3c5d79
|
rustc: support impl's in PrintCx::parameterized.
|
2019-03-15 09:26:13 +02:00 |
|
Eduard-Mihai Burtescu
|
fbbc7e915d
|
rustc: rewrite PrintCx::parameterized to be much simpler and more general.
|
2019-03-15 09:26:13 +02:00 |
|
Eduard-Mihai Burtescu
|
939c69c71f
|
rustc: use define_print! to implement fmt::{Display,Debug} for Kind.
|
2019-03-15 09:26:13 +02:00 |
|
Eduard-Mihai Burtescu
|
eb525b0916
|
rustc: tie the 'tcx between Print and PrintCx in ty::print.
|
2019-03-15 09:26:13 +02:00 |
|
Eduard-Mihai Burtescu
|
3bad9f7b3d
|
rustc: implement fmt::{Debug,Display} on Ty instead of TyS.
|
2019-03-15 09:26:13 +02:00 |
|
Eduard-Mihai Burtescu
|
01fa283d6f
|
rustc: remove fmt::{Debug,Display} from ty::TyKind.
|
2019-03-15 09:26:13 +02:00 |
|
Eduard-Mihai Burtescu
|
0b3ab4018b
|
rustc: keep a TyCtxt in PrintCx and use it instead of ty::tls.
|
2019-03-15 09:26:13 +02:00 |
|
Eduard-Mihai Burtescu
|
5f3841ca2f
|
rustc: rename PrintContext to PrintCx.
|
2019-03-15 09:26:13 +02:00 |
|
Eduard-Mihai Burtescu
|
852fc6d2b6
|
rustc: don't support tcx.lift returning None in ppaux.
|
2019-03-15 09:26:13 +02:00 |
|
Eduard-Mihai Burtescu
|
372b1a5930
|
rustc: uniformize all lift expect messages to "could not lift for printing".
|
2019-03-15 09:26:13 +02:00 |
|
Eduard-Mihai Burtescu
|
297546e62d
|
rustc: add a 'tcx parameter to Print.
|
2019-03-15 09:26:13 +02:00 |
|
Eduard-Mihai Burtescu
|
382d24e7d7
|
rustc: start moving util::ppaux to ty::print.
|
2019-03-15 09:26:13 +02:00 |
|
bors
|
2a8f6a7806
|
Auto merge of #58488 - wesleywiser:llvm_prof, r=michaelwoerister
Replace TimeLine LLVM profiling with the self profiler
|
2019-03-14 08:38:56 +00:00 |
|
John Kåre Alsaker
|
3936aff216
|
Use derive macro for HashStable
|
2019-03-13 00:03:13 +01:00 |
|
Wesley Wiser
|
4c8cc14186
|
Replace TimeLine with SelfProfiler
|
2019-03-10 11:10:55 -04:00 |
|
ljedrz
|
cd06038b54
|
HirIdification: replace NodeId method calls
|
2019-03-07 09:22:43 +01:00 |
|
varkor
|
0d1c9c08d7
|
Pretty printing for const generics
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
|
2019-03-05 22:11:04 +00:00 |
|
Wesley Wiser
|
f20ad70439
|
Use FxHashMap
|
2019-03-03 10:07:32 -05:00 |
|
Wesley Wiser
|
9d26789495
|
Reduce the size of events by using a u64 instead of Instant
Part of #58372
|
2019-03-03 10:07:32 -05:00 |
|