summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/lto/opt-level.ll
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-nm][llvm-readelf] Avoid single-dash -long-option in testsFangrui Song2019-04-271-2/+2
| | | | llvm-svn: 359383
* [LIT][Darwin] Change %ld64 to be prefixed with DYLD_INSERT_LIBRARIESBruno Cardoso Lopes2016-08-041-2/+2
| | | | | | | | | | | | Followup from r277778, after Mehdi's comments. Expand %ld64 to perform the necessary preload instead, that way new tests do not need to worry about setting up DYLD_INSERT_LIBRARIES themselves. rdar://problem/24300926 llvm-svn: 277788
* [LIT][Darwin] Preload libclang_rt.asan_osx_dynamic.dylib when necessaryBruno Cardoso Lopes2016-08-041-2/+2
| | | | | | | | | | | | | | | | | | | | | Green Dragon's darwin stage2 asan bot fails on some checks: http://lab.llvm.org:8080/green/job/clang-stage2-cmake-RgSan_check test/tools/lto/hide-linkonce-odr.ll test/tools/lto/opt-level.ll ERROR: Interceptors are not working. This may be because AddressSanitizer is loaded too late (e.g. via dlopen) To fix this, %ld64 needs to load 'libclang_rt.asan_osx_dynamic.dylib' before libLTO.dylib, via DYLD_INSERT_LIBRARIES. This won't work by updating config.environment, since some shim binary in the way scrubs the env vars. Instead, provide the path to this lib through %asanrtlib, which can then be used by tests directly with DYLD_INSERT_LIBRARIES. rdar://problem/24300926 llvm-svn: 277778
* Make sure this test is actually executed.Rafael Espindola2016-01-151-1/+0
| | | | | | Before it was always unsupported. llvm-svn: 257899
* Update test suite to make "ninja check" succeed without native backend builtinMehdi Amini2015-08-041-0/+1
| | | | | | | Requires "native" feature in most places that were failing. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 243960
* lto: Avoid relying on the environment for this testJustin Bogner2015-08-031-2/+2
| | | | | | | It's better to pass libLTO to ld64 via the command line flag than rely on setting DYLD_LIBRARY_PATH. llvm-svn: 243911
* test: Make a start on a test suite for libLTO.Peter Collingbourne2015-03-191-0/+20
This works in a similar way to the gold plugin tests. We search for a compatible linker on $PATH and use it to run tests against our just-built libLTO. To start with, test the just added opt level functionality. Differential Revision: http://reviews.llvm.org/D8472 llvm-svn: 232785
OpenPOWER on IntegriCloud