since that is the normal behaviour of other compilers on the platform.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Driver/ToolChains/AIX.cpp | ||
---|---|---|
165 | Is that right? My check of the libc++ from XL C/C++ for AIX 16.1.0 shows a dependency on libC.a, but not libm.a: [183] 0x00000000 undef IMP DS EXTref libC.a(shrcore.o) uncaught_exception__3stdFv It seems -lm is just linked for C++ invocations. Other targets also pick up -lm for C++ invocations as a stdlib (not specifically a C++ stdlib). | |
167 | Minor nit: Given the spacing in this block, I think a blank line would be appropriate to have before this one. |
Is that right?
My check of the libc++ from XL C/C++ for AIX 16.1.0 shows a dependency on libC.a, but not libm.a:
It seems -lm is just linked for C++ invocations. Other targets also pick up -lm for C++ invocations as a stdlib (not specifically a C++ stdlib).