question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Label Filter Problems with gcc-7.1 on mac

See original GitHub issue

For the small program

int main()
{}

the current release branch with all filters turned on gives the following verbose output with gcc-7.1 on mac (confirmed on different macOS versions)

_main:
        xorl    %eax, %eax
        ret
EH_frame1:
        .long L$set$4
        .long   0
        .byte   0x1
        .ascii "zR\0"
        .byte   0x1
        .byte   0x78
        .byte   0x10
        .byte   0x1
        .byte   0x10
        .byte   0xc
        .byte   0x7
        .byte   0x8
        .byte   0x90
        .byte   0x1
        .long L$set$5
        .long   LASFDE3-EH_frame1
        .quad   LFB0-.
        .quad L$set$6
        .byte   0

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Wentzellcommented, Feb 20, 2018

Hey @mattgodbolt,

Indeed this is fixed now on master!

For the code

int main() {}

g++ 7.3 now gives

_main:
        xorl    %eax, %eax
        ret

while with clang 5.0.1 I get

_main:                                  ## @main
        pushq   %rbp
        movq    %rsp, %rbp
        xorl    %eax, %eax
        popq    %rbp
        retq

on Mac OS High Sierra.

0reactions
mattgodboltcommented, Feb 20, 2018

Hooray! Thanks for checking 😁

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Trick to Fix TWO Pivot Table Filter By Value Problems in ...
Filter By Value allows you to apply a filter to a column from the Values section of a Pivot Table in Excel...unless you're...
Read more >
Filter data in Numbers on Mac - Apple Support
In Numbers on your Mac, filter data to change what you see in a table by creating a filtering rule. Turn off or...
Read more >
How to fix a "filter failed" error when printing PDFs on macOS
Issue /Question. When I try to print a PDF from my Mac, I get an error message that says "Stopped Filter Failed". I...
Read more >
Missing main label in conda-forge for 2018.12.12 #5 - GitHub
The current package (as of #4) isn't labelled with main (see https://anaconda.org/conda-forge/lammps/files). Is this intentional?
Read more >
gcc(1) - Linux manual page - man7.org
The usual way to run GCC is to run the executable called gcc, or machine-gcc when cross-compiling, or machine-gcc-version to run a specific...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found