https://bugs.llvm.org/show_bug.cgi?id=37997

Douglas Yung <douglas_y...@playstation.sony.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #2 from Douglas Yung <douglas_y...@playstation.sony.com> ---
I just realized there is another section that also has a similar issue.

Consider the following code:

/* test.cc */
class A {
public:
  A () {}
};

A a;

If you compile this to an assembly file, and then try to assemble the
compiler-generated assembly file, the compiler issues a warning.

clang -S test.cc -o test.s
clang -c test.s

test.s:23:2: warning: setting incorrect section attributes for .text._ZN1AC2Ev
        .section        .text._ZN1AC2Ev,"axG",@progbits,_ZN1AC2Ev,comdat
        ^

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to