https://llvm.org/bugs/show_bug.cgi?id=29004
Reid Kleckner <r...@google.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |r...@google.com Resolution|--- |INVALID --- Comment #1 from Reid Kleckner <r...@google.com> --- You are describing what happens when you have an ODR violation. ODR violations invoke undefined behavior. This is also a property of the linker, not the compiler, so this isn't a bug in clang. Closing as "working as intended". We would like to build an ODR violation detector as part of LLD, eventually. ASan has a mini-runtime ODR violation detector, but I think it's only for global variables. -- 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