summaryrefslogtreecommitdiffstats
path: root/clang/lib/Tooling/RefactoringCallbacks.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-12-12 10:49:46 -0800
committerFangrui Song <maskray@google.com>2019-12-13 14:06:51 -0800
commite4fce659a759ecdd59ceee750f1ff9b44f9de3f3 (patch)
tree15ad038aa1ad8ce430a82d65edba1c65d424dc0a /clang/lib/Tooling/RefactoringCallbacks.cpp
parent8035bb4a6573f7d20f17044a68a1405691000525 (diff)
downloadbcm5719-llvm-e4fce659a759ecdd59ceee750f1ff9b44f9de3f3.tar.gz
bcm5719-llvm-e4fce659a759ecdd59ceee750f1ff9b44f9de3f3.zip
[Driver] Use .init_array for all gcc installations and simplify Generic_ELF -fno-use-init-array rules
D39317 made clang use .init_array when no gcc installations is found. This change changes all gcc installations to use .init_array . GCC 4.7 by default stopped providing .ctors/.dtors compatible crt files, and stopped emitting .ctors for __attribute__((constructor)). .init_array should always work. FreeBSD rules are moved to FreeBSD.cpp to make Generic_ELF rules clean. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D71434
Diffstat (limited to 'clang/lib/Tooling/RefactoringCallbacks.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud