search for: 0d3d3996

Displaying 1 result from an estimated 1 matches for "0d3d3996".

2019 Dec 10
2
X86 does not follow -fuse-init-array
Hi Devs, consider below testcases, $cat test.cc class B { public: B(int t) { j=t; } int j; }; B b(1); ============== $clang test.cc -target -i386 -c -fuse-init-array $llvm-objdump -h test.o |grep ctors 7 .ctors 00000004 00000000 DATA 8 .rel.ctors 00000008 00000000 As you can see it ignores the -fuse-init-array options.It happens for x86,Other target like aarch64 is doing fine.