For each translation unit, a CTF container (ctf_container_t) is used to
keep the CTF debug info.
- ctfout.c hosts the compiler facing routines for CTF generation and emission.
- ctfcreate.c contains the CTF format specific CTF creation routines.
- ctfutils.c contains helper routines for CTF creati
libiberty/ChangeLog:
* simple-object.c (handle_lto_debug_sections): Copy CTF section.
---
libiberty/ChangeLog | 5 +
libiberty/simple-object.c | 3 +++
2 files changed, 8 insertions(+)
diff --git a/libiberty/simple-object.c b/libiberty/simple-object.c
index b00c265..96bdcf8 10
-gtLEVEL is used to request CTF debug information and also to specify how much
CTF debug information.
gcc/ChangeLog:
* common.opt: Add CTF debug info options.
* doc/invoke.texi: Document the CTF debug info options.
* flag-types.h (enum ctf_debug_info_levels): New enum.
Hello,
This patch series adds support for CTF generation in GCC.
[Changes from V4]
1. Patch 4 brings in a number of bug fixes and enhancements. Few of them are:
- Use DECL_UID () instead of htab_hash_pointer () for _DECL
- Handle boolean and zero-sized bitfields
- Do not inform () when
[Changes from V4]
Added new testcases
- gcc.dg/debug/ctf/ctf-bitfields-3.c
- gcc.dg/debug/ctf/ctf-bitfields-4.c
- gcc.dg/debug/ctf/ctf-cvr-quals-4.c
- gcc.dg/debug/ctf/ctf-forward-3.c
- gcc.dg/debug/ctf/ctf-function-pointers-2.c
gcc/testsuite/ChangeLog:
* gcc.dg/debug/ctf/ctf-2.c: Ne
Initialize CTF container when -gtLEVEL is specified. Generate CTF debug info
for global decls. Import the CTF header from binutils.
gcc/ChangeLog:
* Makefile.in: Add ctfout.* files to GTFILES.
* cgraphunit.c (symbol_table::finalize_compilation_unit): Generate CTF
debug
gcc/ChangeLog:
* langhooks.c (lang_GNU_GIMPLE): New Function.
* langhooks.h: New Prototype.
---
gcc/ChangeLog | 5 +
gcc/langhooks.c | 9 +
gcc/langhooks.h | 1 +
3 files changed, 15 insertions(+)
diff --git a/gcc/langhooks.c b/gcc/langhooks.c
index 89fb5bc..66daa9
On 9/6/19 1:25 PM, Segher Boessenkool wrote:
> It's tiresome to have to look in insn-emit.c to see where some split
> came from, so let's print that info to the dump file as well. But
> don't print the full path, just the basename, for greater readability.
>
> Testing on powerpc64-linux {-m32,-m6
[dcl.type.auto.deduct]/5 "If the placeholder-type-specifier is of the
form type-constraintopt decltype(auto), T shall be the placeholder alone."
So, only plain decltype(auto) is allowed. But we aren't diagnosing it in
function declarations, because do_auto_deduction is never called for those.
Bo
> ChangeLog:
>
> * MAINTAINERS: Add myself as the maintainer of the eBPF port.
> Remove myself from Write After Approval section.
Approved.
As in: Approved by the steering committed assuming the patchset passes
technical review. :-)
Thanks for w
Even on recent processors, integer division is relatively expensive.
The current implementation of std::uniform_int_distribution typically
requires two divisions by invocation:
// downscaling
const __uctype __uerange = __urange + 1; // __urange can be zero
const __uctype _
On Sat, Sep 7, 2019 at 3:11 PM Segher Boessenkool
wrote:
>
> I wouldn't. Please stop using that straw man. I'm not saying version
> checks are good, or useful for most things. I am saying they are not.
>
> Predefined compiler symbols to do version checking (of a feature) is
> just a lesser inst
We've already beaten this topic to death, so let's put a final nail in
the coffin:
__to_chars_10_impl is quite fast. According to the IACA the main loop
takes only 6.0 cycles, the whole function with one iteration takes
10.0 cycles. Replacing the __first[pos] and __first[pos - 1] with
__first[0]
On Thu, 29 Aug 2019, Jose E. Marchesi wrote:
> ChangeLog:
>
> * MAINTAINERS: Add myself as the maintainer of the eBPF port.
> Remove myself from Write After Approval section.
Approved.
As in: Approved by the steering committed assuming the patchset passes
technical review. :-)
Thank
14 matches
Mail list logo