linux/musl will use init arrays by default.
Details
Details
Diff Detail
Diff Detail
Event Timeline
| clang/lib/Driver/ToolChains/Hexagon.cpp | ||
|---|---|---|
| 548 | The ternary is unnecessary. bool UseInitArrayDefault = getTriple().isMusl(); | |
| Paths 
 |  Differential  D76079  
[Hexagon] Enable init_arrays when target is linux-musl ClosedPublic Authored by sidneym on Mar 12 2020, 10:23 AM. 
Details Summary linux/musl will use init arrays by default. 
Diff Detail Event Timeline
 This revision is now accepted and ready to land.Mar 12 2020, 11:57 AM Closed by commit rG6174fddbe3d4: [Hexagon] Enable init_arrays when target is linux-musl (authored by sidneym).  ·  Explain WhyMar 12 2020, 1:02 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 249999 clang/lib/Driver/ToolChains/Hexagon.cpp
 clang/test/Driver/hexagon-toolchain-elf.c
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The ternary is unnecessary.