llvm-project/clang/test/Driver
Dehao Chen b3a70de753 Add -fdebug-info-for-profiling to emit more debug info for sample pgo profile collection
Summary:
SamplePGO uses profile with debug info to collect profile. Unlike the traditional debugging purpose, sample pgo needs more accurate debug info to represent the profile. We add -femit-accurate-debug-info for this purpose. It can be combined with all debugging modes (-g, -gmlt, etc). It makes sure that the following pieces of info is always emitted:

* start line of all subprograms
* linkage name of all subprograms
* standalone subprograms (functions that has neither inlined nor been inlined)

The impact on speccpu2006 binary size (size increase comparing with -g0 binary, also includes data for -g binary, which does not change with this patch):

               -gmlt(orig) -gmlt(patched) -g
433.milc       4.68%       5.40%          19.73%
444.namd       8.45%       8.93%          45.99%
447.dealII     97.43%      115.21%        374.89%
450.soplex     27.75%      31.88%         126.04%
453.povray     21.81%      26.16%         92.03%
470.lbm        0.60%       0.67%          1.96%
482.sphinx3    5.77%       6.47%          26.17%
400.perlbench  17.81%      19.43%         73.08%
401.bzip2      3.73%       3.92%          12.18%
403.gcc        31.75%      34.48%         122.75%
429.mcf        0.78%       0.88%          3.89%
445.gobmk      6.08%       7.92%          42.27%
456.hmmer      10.36%      11.25%         35.23%
458.sjeng      5.08%       5.42%          14.36%
462.libquantum 1.71%       1.96%          6.36%
464.h264ref    15.61%      16.56%         43.92%
471.omnetpp    11.93%      15.84%         60.09%
473.astar      3.11%       3.69%          14.18%
483.xalancbmk  56.29%      81.63%         353.22%
geomean        15.60%      18.30%         57.81%

Debug info size change for -gmlt binary with this patch:

433.milc       13.46%
444.namd       5.35%
447.dealII     18.21%
450.soplex     14.68%
453.povray     19.65%
470.lbm        6.03%
482.sphinx3    11.21%
400.perlbench  8.91%
401.bzip2      4.41%
403.gcc        8.56%
429.mcf        8.24%
445.gobmk      29.47%
456.hmmer      8.19%
458.sjeng      6.05%
462.libquantum 11.23%
464.h264ref    5.93%
471.omnetpp    31.89%
473.astar      16.20%
483.xalancbmk  44.62%
geomean        16.83%

Reviewers: davidxl, andreadb, rob.lougher, dblaikie, echristo

Reviewed By: dblaikie, echristo

Subscribers: hfinkel, rob.lougher, andreadb, gbedwell, cfe-commits, probinson, llvm-commits, mehdi_amini

Differential Revision: https://reviews.llvm.org/D25435

llvm-svn: 292458
2017-01-19 00:44:21 +00:00
..
Inputs [Driver] Add openSuse AArch64 Triple 2017-01-10 21:13:08 +00:00
XRay [XRay] Support AArch64 in Clang 2016-11-21 03:24:59 +00:00
B-opt.c Fix tests with CLANG_DEFAULT_LINKER 2017-01-08 10:04:07 +00:00
O.c
Ofast.c
Wp-args.c Fix option typo. 2013-10-27 14:46:16 +00:00
Xarch.c
Xlinker-args.c Handle '-r' option properly 2015-09-10 22:31:45 +00:00
aarch64-cpus.c AArch64: add architecture version feature to Clang invocation. 2016-12-14 19:21:30 +00:00
aarch64-features.c [ARM64] Plumb in the -mfpu= flag. 2014-04-16 15:33:56 +00:00
aarch64-fix-cortex-a53-835769.c [AArch64] Enable A53 erratum workaround (835769) by default for Android targets 2014-10-16 16:35:14 +00:00
aarch64-fixed-x18.c Revert "[AArch64] Unconditionally pass subtarget feature reserve-x18 on Darwin." 2015-11-13 23:07:31 +00:00
aarch64-mgeneral_regs_only.c [ARM64] Plumb in the -mfpu= flag. 2014-04-16 15:33:56 +00:00
aarch64-ras.c RAS extensions are part of ARMv8.2. 2016-06-03 14:08:20 +00:00
altivec-asm.S [PPC64LE] Run some existing Altivec tests on powerpc64le as well 2014-06-13 18:30:06 +00:00
amdgpu-features.c [AMDGPU] Remove individual debugger options + update features 2016-05-26 19:36:39 +00:00
amdgpu-toolchain.c [AMDGPU] Set default dwarf version to 2 2016-05-31 22:47:11 +00:00
analyze.c
analyzer-target-enabled-checkers.cpp [analyzer] Add checker modeling gtest APIs. 2016-12-19 22:50:31 +00:00
android-aarch64-link.cpp Use linker flag --fix-cortex-a53-843419 on Android ARM64 compilation. 2016-10-25 21:44:35 +00:00
android-ndk-standalone.cpp [driver][mips] Support MIPS targets in modern Android NDK 2016-07-19 07:09:48 +00:00
android-standalone.cpp [driver][mips] Support MIPS targets in modern Android NDK 2016-07-19 07:09:48 +00:00
apple-kext-mkernel.c Support watchOS and tvOS driver options 2015-10-30 16:30:27 +00:00
appletvos-version-min.c [Darwin] Fix deployment target detection 2016-01-12 23:47:59 +00:00
arc-exceptions.m
arc.c [test] Don't use "UNSUPPORTED" in FileCheck prefixes 2016-04-02 05:29:00 +00:00
arch-armv7k.c ARMv7k: simplify logic for deciding sjlj-exceptions. 2016-01-27 22:14:02 +00:00
arch.c
arclite-link.c
arm-abi.c Add support for musl-libc on ARM Linux. 2016-06-24 21:35:06 +00:00
arm-alignment.c [ARM] Add Clang targeting for ARMv8-M Baseline/Mainline 2016-03-03 13:52:22 +00:00
arm-arch-darwin.c Refactor duplicate functions 2013-12-12 13:27:11 +00:00
arm-compiler-rt.c Revert "Driver: use the canonical static library naming" 2016-08-31 19:27:07 +00:00
arm-cortex-cpus.c Add support for Samsung Exynos M3 (NFC) 2016-12-13 23:31:57 +00:00
arm-darwin-builtin.c
arm-execute-only.c [ARM] Add missing -backend-option for -arm-execute-only 2016-12-19 15:43:33 +00:00
arm-features.c [ARM] Add Clang targeting for ARMv8-M Baseline/Mainline 2016-03-03 13:52:22 +00:00
arm-fixed-r9.c [ARM] Pass subtarget feature "+reserve-r9" instead of passing backend 2015-07-21 01:41:08 +00:00
arm-float-abi.c [ARM] Error out if float-ab=hard and abi=apcs-gnu on macho platforms. 2015-08-26 19:00:11 +00:00
arm-hwdiv.c ARM: be more flexible about how --mhwdiv is accepted. 2014-03-26 14:09:48 +00:00
arm-ias-Wa.s When running clang with an arm triple such as '--target=thumbv7m-none-eabi' 2015-10-28 10:10:03 +00:00
arm-implicit-it.s [ARM] Pass -mimplcit-it= to integrated assembler 2016-07-27 08:54:13 +00:00
arm-long-calls.c [ARM] Pass subtarget feature "+long-calls" instead of passing backend option 2015-07-07 06:42:05 +00:00
arm-mfpu.c Add support for musl-libc on ARM Linux. 2016-06-24 21:35:06 +00:00
arm-multilibs.c Driver: add multilibs for ARM EB 2015-12-11 06:20:59 +00:00
arm-no-movt.c Add -fno-movt frontend option, to disable movt/movw on ARM 2016-01-06 07:42:18 +00:00
arm-ras.c RAS extensions are part of ARMv8.2. 2016-06-03 14:08:20 +00:00
arm-restrict-it.c Add test case for r194593 2013-11-13 21:40:17 +00:00
arm-xscale.c Add a clang test for r257376 (Ensure -mcpu=xscale works for arm targets). 2016-01-12 19:40:55 +00:00
arm64-as.s [Driver][ARM64] Add a testcase for r206227. 2014-04-22 18:29:43 +00:00
arm64-darwinpcs.c ARM64: initial clang support commit. 2014-03-29 15:09:45 +00:00
armv8-crc.c ARM: Add -m[no-]crc to dis/enable CRC subtargetfeature from clang 2013-10-29 09:47:51 +00:00
as-default-dwarf.s Always pass a -dwarf-version argument to integrated as. 2015-10-13 16:22:51 +00:00
as-dwarf-cie.s cc1as: Don't crash when CIE is requested and no DWARF version is specified. 2016-04-19 20:31:19 +00:00
as-options.s Pass -I options to integrates and external assemblers 2015-07-22 15:32:36 +00:00
asan.c [ASan] Initial support for Kernel AddressSanitizer 2015-06-19 12:19:07 +00:00
ast.c Reapply "Change -save-temps to emit unoptimized bitcode files." 2014-12-21 07:00:00 +00:00
at_file.c Update test after LLVM r267556. 2016-04-26 13:54:29 +00:00
at_file.c.args Update test after LLVM r267556. 2016-04-26 13:54:29 +00:00
at_file.c.args.utf16le
at_file_missing.c Try to get at_file_missing.c passing after LLVM r267556. 2016-04-26 20:40:23 +00:00
at_file_win.c driver: Add a `--rsp-quoting` flag to pick response file quoting. 2016-04-25 21:15:49 +00:00
at_file_win.c.args driver: Add a `--rsp-quoting` flag to pick response file quoting. 2016-04-25 21:15:49 +00:00
autolink_integrated_as.c
avr-toolchain.c No canonical-prefixes match in avr-toolchain.c. 2017-01-05 10:06:58 +00:00
biarch.c Handle ARMv6KZ naming 2015-11-16 14:05:48 +00:00
bindings.c Pedantically rename all Tool subclasses to be nouns, not verbs. NFC 2015-06-23 20:42:09 +00:00
bitrig.c Fix some more tests with CLANG_DEFAULT_CXX_STDLIB 2016-03-14 14:34:10 +00:00
cc-log-diagnostics.c
cc-print-options.c
cc1-response-files.c Make '-disable-llvm-optzns' an alias for '-disable-llvm-passes'. 2016-12-23 00:23:01 +00:00
ccc-as-cpp.c
ccc-host-triple-no-integrated-as.c
cl-eh.cpp [clang-cl] /EHc should not have an effect on /EHa 2016-02-29 01:40:30 +00:00
cl-fallback.c clang-cl: Pass /Zc:threadSafeInit through to MSVC with /fallback (PR30948) 2016-11-09 00:56:42 +00:00
cl-inputs.c Erase REQUIRES: shell-preserves-root from more tests, see r242312. 2015-07-15 19:42:18 +00:00
cl-link-at-file.c Erase REQUIRES: shell-preserves-root from remaining tests, see r242312.þ 2015-07-15 20:04:18 +00:00
cl-link.c clang-cl: expose the -fuse-ld option 2016-10-04 21:01:00 +00:00
cl-options.c Address review comments on r290392: 2017-01-12 22:40:13 +00:00
cl-outputs.c clang-cl: Make /Fo apply also when using -flto 2016-10-04 21:01:04 +00:00
cl-pch-errorhandling.cpp [clang-cl] Fix PCH tests to use x86_64 as target 2016-08-02 13:53:00 +00:00
cl-pch-search.cpp [clang-cl] Fix PCH tests to use x86_64 as target 2016-08-02 13:53:00 +00:00
cl-pch-showincludes.cpp [clang-cl] Fix PCH tests to use x86_64 as target 2016-08-02 13:53:00 +00:00
cl-pch.c [clang-cl] Fix test that shouldn't be running on non-x86 2016-10-20 17:41:08 +00:00
cl-pch.cpp Unrevert r280035 now that the clang-cl bug it exposed has been fixed by 2016-08-30 19:06:26 +00:00
cl-response-file.c Use the AddAllArgs overload which accepts an ArrayRef of OptSpecifier. 2015-07-29 18:39:14 +00:00
cl-runtime-flags.c Re-apply r267784, r267824 and r267830. 2016-04-28 17:09:37 +00:00
cl-x86-flags.c Erase REQUIRES: shell-preserves-root from remaining tests, see r242312.þ 2015-07-15 20:04:18 +00:00
cl-zc.cpp Erase REQUIRES: shell-preserves-root from remaining tests, see r242312.þ 2015-07-15 20:04:18 +00:00
cl.c Erase REQUIRES: shell-preserves-root from more tests, see r242312. 2015-07-15 19:42:18 +00:00
claim-unused.c
clang-c-as-cxx.c
clang-exception-flags.cpp Added a test to check that exception flags are not passed by default on PS4. 2015-02-06 13:02:39 +00:00
clang-g-opts.c Driver/Darwin: Set the DWARF version based on the deployment target. 2016-10-17 19:36:18 +00:00
clang-offload-bundler.c Fix clang-offload-bundler test. 2016-10-11 16:06:32 +00:00
clang-offload-bundler.c.o [Driver][OpenMP][CUDA] Add capability to bundle object files in sections of the host binary format. 2016-08-24 15:39:07 +00:00
clang-s-opts.s Remove -Werror from test. 2015-01-03 00:28:47 +00:00
clang-translation.c [Driver] Bump default x86 cpu to Penryn when targeting macosx10.12+. 2016-12-15 18:14:27 +00:00
clang_cpp.c
clang_f_opts.c Add -fdebug-info-for-profiling to emit more debug info for sample pgo profile collection 2017-01-19 00:44:21 +00:00
clang_f_opts.h
clang_wrapv_opts.c
cloudabi.c Don't enable PIE on i686-unknown-cloudabi. 2016-08-11 20:03:22 +00:00
cloudabi.cpp Don't enable PIE on i686-unknown-cloudabi. 2016-08-11 20:03:22 +00:00
code-model.c Driver: parse -mcmodel earlier 2014-05-08 02:28:32 +00:00
color-diagnostics.c Add -fansi-escape-codes option 2013-09-11 00:38:02 +00:00
compilation_database.c Compilation database test: don't try to output to CWD 2016-12-07 09:19:07 +00:00
compress.c Fix up compression related test cases 2014-04-01 00:27:28 +00:00
constructors.c Fix clash of gcc toolchains in driver regression tests. 2015-01-05 17:07:42 +00:00
coroutines.c [coroutines] Rename driver flag -fcoroutines to -fcoroutines-ts 2016-10-02 03:31:58 +00:00
coroutines.cpp [coroutines] Rename driver flag -fcoroutines to -fcoroutines-ts 2016-10-02 03:31:58 +00:00
coverage-ld.c Fix tests with CLANG_DEFAULT_LINKER 2017-01-08 10:04:07 +00:00
coverage_no_integrated_as.c Add -fprofile-dir= to clang. 2016-08-31 23:04:32 +00:00
cpath.c
cpp-precomp.c
crash report spaces.c Driver: Quote the command in crash reproduction scripts. 2014-10-21 18:03:08 +00:00
crash-report-crashfile.m [CrashReproducer][Darwin] Suggest attaching .crash diagnostic file 2016-11-17 21:41:22 +00:00
crash-report-header.h Revert three tests enabled on r243236, they fail on clang-x86-win2008-selfhost. 2015-07-26 04:59:52 +00:00
crash-report-modules.m clang/test/Driver/crash-report-modules.m: Avoid using /tmp/. 2015-12-02 03:13:50 +00:00
crash-report-null.test Driver: Tighten up crash report tests 2014-10-21 05:13:09 +00:00
crash-report.c Driver: Strip -header-include-file and -diagnostic-log-file from crash repro scripts 2015-08-05 23:49:44 +00:00
cross-linux.c Fix tests with CLANG_DEFAULT_LINKER 2017-01-08 10:04:07 +00:00
cuda-arch-translation.cu [CUDA] Invoke ptxas and fatbinary during compilation. 2016-01-14 21:41:27 +00:00
cuda-bad-arch.cu [CUDA] Do not allow using NVPTX target for host compilation. 2016-08-02 22:37:47 +00:00
cuda-bindings.cu [Driver][OpenMP] Add support to create jobs for unbundling actions. 2016-10-27 18:14:55 +00:00
cuda-constructor-alias.cu [CUDA] Add -target to cuda-constructor-alias.cu test so it doesn't fail on Mac. 2016-01-25 22:52:31 +00:00
cuda-detect.cu [CUDA] Driver changes to support CUDA compilation on MacOS. 2016-11-18 00:41:22 +00:00
cuda-external-tools.cu [CUDA] Driver changes to support CUDA compilation on MacOS. 2016-11-18 00:41:22 +00:00
cuda-macosx.cu [CUDA] Driver changes to support CUDA compilation on MacOS. 2016-11-18 00:41:22 +00:00
cuda-march.cu A follow-up fixing on cuda-march.cu: Don't match clang to other place. 2016-06-16 13:27:02 +00:00
cuda-no-sanitizers.cu [CUDA] Fix faulty test from rL288448 2016-12-02 02:04:43 +00:00
cuda-not-found.cu [CUDA] Add a test for r266496 (raise an error if a CUDA installation isn't found) 2016-04-19 18:52:28 +00:00
cuda-options.cu [CUDA,Driver] Added --no-cuda-gpu-arch= option. 2016-12-09 22:59:17 +00:00
cuda-output-asm.cu Remove check for -o option in offloading actions builder. 2016-10-27 01:08:58 +00:00
cuda-phases.cu [CUDA][OpenMP] Add a generic offload action builder 2016-09-30 15:34:19 +00:00
cuda-ptxas-path.cu [CUDA] Add --ptxas-path= flag. 2016-12-15 18:44:57 +00:00
cuda-simple.cu [CUDA] Updated CUDA tests that must run w/o CUDA installation. 2016-08-02 23:43:04 +00:00
cuda-unused-arg-warning.cu [CUDA] Add --cuda-compile-host-device, which overrides --cuda-host-only and --cuda-device-only. 2016-04-19 02:27:07 +00:00
cuda-version-check.cu [CUDA] Add a host target triple to cuda-version-check.cu 2017-01-06 18:16:03 +00:00
cuda-windows.cu [Driver] Driver changes to support CUDA compilation on Windows. 2017-01-05 16:52:29 +00:00
darwin-arch-default.c Call powerpc-darwin external tools with -arch ppc. 2014-08-28 21:23:05 +00:00
darwin-as.c darwin asm driver: suppress -Q for -no-integrated-as on darwin<11 2013-12-10 22:51:25 +00:00
darwin-asan-nofortify.c Kill -faddress-sanitizer, -fthread-sanitizer and -fcatch-undefined-behavior flags. 2014-03-20 10:48:29 +00:00
darwin-debug-flags.c Update Clang for D20147 ("DebugInfo: New metadata representation for global variables.") 2016-09-13 01:13:19 +00:00
darwin-dsymutil.c Pedantically rename all Tool subclasses to be nouns, not verbs. NFC 2015-06-23 20:42:09 +00:00
darwin-embedded.c ARM: make Darwin's "-arch armv7em" default to hard-float. 2016-04-13 17:08:51 +00:00
darwin-iphone-defaults.m Cleanup the handling of noinline function attributes, -fno-inline, 2016-12-23 01:24:49 +00:00
darwin-ld-dedup.c [Driver][Darwin] Pass -no_deduplicate to ld64 2016-10-21 01:49:14 +00:00
darwin-ld-demangle.c CMake: Set HOST_LINK_VERSION on Darwin (PR21268) 2014-11-13 00:35:23 +00:00
darwin-ld-lto.c darwin: Unconditionally pass -lto_library, remove -Wliblto warning. 2016-11-22 19:38:07 +00:00
darwin-ld.c With LTO and profile-use, enable hotness info in opt remarks 2016-12-02 17:54:34 +00:00
darwin-max-type-align.c Introduce f[no-]max-unknown-pointer-align=[number] option 2014-08-05 18:37:48 +00:00
darwin-multiarch-arm.c Fix the unit test darwin-multiarch-arm.c for windows 2016-11-14 17:09:39 +00:00
darwin-objc-defaults.m Objective-C driver. Do not use legacy dispatch for 2014-02-05 17:13:42 +00:00
darwin-objc-options.m Fix assertion failure left over from changes to move away from "darwin" triples. 2013-12-05 19:38:42 +00:00
darwin-sanitizer-ld.c Reapply SVN r274797. 2016-07-10 23:24:36 +00:00
darwin-sdkroot.c Actually requiring shell disables the test on Windows whereas 2015-07-15 18:55:39 +00:00
darwin-stdlib.cpp XFAIL Driver/darwin-stdlib.cpp if CLANG_DEFAULT_CXX_STDLIB is set 2016-09-29 07:43:08 +00:00
darwin-verify-debug.c Pedantically rename all Tool subclasses to be nouns, not verbs. NFC 2015-06-23 20:42:09 +00:00
darwin-version.c watchOS & tvOS: add a few more tests. 2015-11-02 21:14:48 +00:00
darwin-xarch.c
debug-comp-dir.S Remove shell requirements from tests that use 'cd' 2015-03-02 22:42:58 +00:00
debug-main-file.S clang/test/Driver: Remove the feature "clang-driver" in three tests since they might work as expected since their first commit. 2013-08-20 12:16:35 +00:00
debug-options-as.c Stop messing with the 'g' group of options in CompilerInvocation. 2015-10-08 04:24:12 +00:00
debug-options.c Improve the CHECK lines in debug-options.c by separating out the check 2016-10-17 20:14:23 +00:00
debug-prefix-map.c Support Debug Info path remapping 2015-10-12 20:21:08 +00:00
debug-unsupported.c
debug.c Remove shell requirements from tests that use 'cd' 2015-03-02 22:42:58 +00:00
default-image-name.c Driver: tweak the code for determining default image name 2015-01-09 17:38:53 +00:00
default-toolchain.c
defsym.s [clang] Fix D26214: Move error handling out of MC and to the callers. 2016-12-06 02:49:16 +00:00
denormal-fp-math.c Guard flag –fdenormal-fp-math with –fno-fast-math. 2016-10-13 13:22:01 +00:00
diagnostics.c
disable-llvm.c Another fix for r291850 because there are apparently targets which add 2017-01-13 02:47:34 +00:00
dragonfly.c Fix C++ support on recent DragonFly BSD releases 2015-12-27 10:01:44 +00:00
dyld-prefix.c Driver: support exherbo's multiarch support 2016-05-23 02:17:28 +00:00
dynamic-linker.c Driver: adjust linker invocation for GNUTools 2016-02-07 06:03:38 +00:00
eabi.c [EABI] Add Clang support for -meabi flag 2015-11-09 12:40:41 +00:00
elfiamcu-header-search.c Add -fsyntax-only to fix failure in read-only directories. 2015-12-16 19:52:05 +00:00
embed-bitcode.c [Driver] Infer the correct option to ld64 for -fembed-bitcode 2016-11-16 06:06:44 +00:00
emulated-tls.cpp [Cygwin] Use -femulated-tls by default since r257718 introduced the new pass. 2016-01-16 03:44:52 +00:00
env.c Enable passing clang tests on Windows/MSYS. 2015-07-26 04:36:39 +00:00
esan.c [EfficiencySanitizer] [MIPS64] Enables esan clang driver options for MIPS64 2016-09-07 12:23:15 +00:00
exceptions.m Revert "Driver: Objective-C should respect -fno-exceptions" 2014-12-09 00:12:30 +00:00
fast-math.c This adds a separate file for the fp denormal regression tests. NFC. 2016-10-03 13:12:20 +00:00
fatal-warnings.c Convert MC command line flag for fatal assembler warnings into a proper 2014-08-26 18:40:25 +00:00
fcomment-block-commands.c
flags.c
fopenmp.c Support linking against OpenMP runtime on FreeBSD. 2015-10-18 13:32:20 +00:00
fortran.f95 Make sure we claim arguments that are going to be passed to a gcc tool, 2016-01-07 09:03:42 +00:00
fpack-struct.c
fparse-all-comments.c
fplugin.c Add -fplugin=name.so option to the driver 2015-09-23 13:55:40 +00:00
frame-pointer-elim.c Adding an additional test to ensure the frame pointer is emitted 2016-08-24 02:02:32 +00:00
frame-pointer.c [Driver] Disable frame pointer elimination by default if target is 2016-02-26 05:07:00 +00:00
freebsd-mips-as.c [mips] Kill 'support' for untested EABI. 2016-05-27 14:30:23 +00:00
freebsd.c Always use --eh-frame-hdr on FreeBSD, even for -static 2016-04-12 21:11:46 +00:00
freebsd.cpp Make FreeBSD and NetBSD use CLANG_DEFAULT_CXX_STDLIB 2016-03-14 14:34:04 +00:00
fsanitize-blacklist.c Remove 24 instances of 'REQUIRES: shell' 2016-10-20 23:11:45 +00:00
fsanitize-coverage.c [sanitizer-coverage] add yet another flavour of coverage instrumentation: trace-pc-guard. The intent is to eventually replace all of {bool coverage, 8bit-counters, trace-pc} with just this one. Clang part 2016-09-14 01:39:49 +00:00
fsanitize.c Tread TSan LLVM flags to driver: add TSan controlling flags to clang. 2016-11-11 23:17:36 +00:00
fsjlj-exceptions.c Driver: make it easier to select the SjLj EH model 2016-06-10 20:12:00 +00:00
fubsan-strip-path-components.cpp [ubsan] Add -fsanitize-undefined-strip-path-components=N 2016-05-12 16:51:36 +00:00
fuchsia.c Fix tests with CLANG_DEFAULT_LINKER 2017-01-08 10:04:07 +00:00
fuchsia.cpp Fix tests with CLANG_DEFAULT_LINKER 2017-01-08 10:04:07 +00:00
function-sections.c Make unique section names the default again. 2015-05-22 20:44:03 +00:00
fuse-ld.c Fix tests with CLANG_DEFAULT_LINKER 2017-01-08 10:04:07 +00:00
fveclib.c Imply linker arguments from '-fveclib' option. 2015-03-17 22:13:05 +00:00
gcc-toolchain.cpp tests: Add explicit -stdlib=libstdc++ to tests that require it 2016-02-12 07:48:28 +00:00
gcc-version-debug.c Fix clash of gcc toolchains in driver regression tests. 2015-01-05 17:07:42 +00:00
gcc_forward.c Use an actual real architecture and massage a couple of comments. 2016-01-07 01:23:19 +00:00
gfortran.f90 Fix regression in r227409 where we were passing -fsyntax-only 2015-01-30 18:22:23 +00:00
gnu-runtime.m
gold-lto-samplepgo.c Add -plugin-opt=sample-profile for thinLTO build. 2017-01-04 00:33:23 +00:00
gold-lto-sections.c Pass -ffunction-sections/-fdata-sections along to gold-plugin 2016-10-13 18:05:53 +00:00
gold-lto.c [Driver] Pass -O* to the gold plugin via -plugin-opt 2015-12-21 10:44:36 +00:00
hexagon-long-calls.c Handle -mlong-calls on Hexagon 2016-08-30 13:57:50 +00:00
hexagon-toolchain-elf.c [Hexagon] Avoid spurious failures in test/Driver/hexagon-toolchain-elf.c 2016-05-11 16:11:22 +00:00
ident_md.c IR: Make metadata typeless in assembly, clang side 2014-12-15 19:10:08 +00:00
immediate-options.c
implicit-function-as-error.c watchOS & tvOS: add a few more tests. 2015-11-02 21:14:48 +00:00
incompatible_sysroot.c Stab in the dark to fix the PS4 bot 2016-04-30 05:27:17 +00:00
incremental-linker-compatible.c [clang-cl] Add support for /Brepro 2015-12-21 22:09:34 +00:00
index-header-map.c
inhibit-downstream-commands.c
inline-asm.c Adding option -fno-inline-asm to disallow inline asm 2015-01-16 23:05:28 +00:00
instrprof-ld.c Fix tests with CLANG_DEFAULT_LINKER 2017-01-08 10:04:07 +00:00
integrated-as.c Remove unused diagnostic + dead test for it. 2014-03-31 16:55:01 +00:00
integrated-as.s test: add explicit triples to the invocation 2016-12-26 04:00:54 +00:00
ios-simulator-arcruntime.c Watch and TV OS: wire up basic ABI choices 2015-10-30 16:30:36 +00:00
ios-version-min.c Fix the test added in r240710. 2015-06-25 23:21:11 +00:00
krait-cpu.c Allow case-insensitive values for -mcpu for ARM 2015-06-04 17:56:32 +00:00
lanai-toolchain.c [lanai] Add Lanai backend to clang driver. 2016-03-28 21:02:54 +00:00
lanai-unknown-unknown.cpp [lanai] Add Lanai backend to clang driver. 2016-03-28 21:02:54 +00:00
le32-toolchain.c
le32-unknown-nacl.cpp Make test/Driver hermetic 2014-09-14 23:42:15 +00:00
le64-unknown-unknown.cpp Make test/Driver hermetic 2014-09-14 23:42:15 +00:00
linker-opts.c Mark -Xclang as being a compilation-only option so that the clang driver 2016-04-18 23:12:59 +00:00
linux-as.c Use the generic Sparc CPU handling for Linux, FreeBSD and OpenBSD, too. 2015-11-10 00:40:29 +00:00
linux-header-search.cpp [Driver] Fix finding multilib gcc install on Gentoo (with gcc-config) 2016-12-12 15:07:43 +00:00
linux-ld.c [Driver] Add openSuse AArch64 Triple 2017-01-10 21:13:08 +00:00
lit.local.cfg Enable opencl driver tests, which never ran. 2016-06-30 09:17:46 +00:00
lto-jobs.c [LTO] Add -flto-jobs=N to control backend parallelism 2016-09-23 20:38:09 +00:00
lto-unit.c Move vtable type metadata emission behind a cc1-level flag. 2017-01-18 23:55:27 +00:00
lto.c LTO via the gold plugin needs to be told about debugger tuning. 2016-01-25 19:46:40 +00:00
m_and_mm.c
macho-embedded.c MachO: perform ARM ABI detection even for non-Darwin triples. 2014-05-22 12:54:30 +00:00
masm.c Make this test target independent. 2014-05-13 20:16:43 +00:00
masm.s Support -masm= flag for x86 assembly targets. 2016-07-18 18:44:51 +00:00
mbig-obj.c Use -### so the mbig-obj.c test passes when there is no registered x86 target 2017-01-04 18:50:51 +00:00
mg.c Port test/Driver/mg.c to use FileCheck instead of fgrep 2015-02-04 18:34:26 +00:00
mglobal-merge.c Fix AArch64 global-merge backend option name. 2017-01-17 03:38:45 +00:00
miamcu-opt.c Support setting default value for -rtlib at build time 2016-07-27 08:15:54 +00:00
miamcu-opt.cpp Support setting default value for -rtlib at build time 2016-07-27 08:15:54 +00:00
mingw-libgcc.c Support setting default value for -rtlib at build time 2016-07-27 08:15:54 +00:00
mingw-useld.c Fix the failing windows clang unit tests. NFC 2015-12-16 19:09:51 +00:00
mingw.cpp Support setting default value for -rtlib at build time 2016-07-27 08:15:54 +00:00
mips-abi.c [mips] Defer validity check for CPU/ABI pairs and improve error message for invalid cases. 2016-06-14 08:58:50 +00:00
mips-as.c [mips] Kill 'support' for untested EABI. 2016-05-27 14:30:23 +00:00
mips-cs.cpp Fix clang tests 2016-10-18 19:22:20 +00:00
mips-eleb.c [mips] Correct the invocation of GAS in several cases. 2014-07-16 11:52:23 +00:00
mips-features.c [mips] Compact branch policy setting. 2016-05-27 15:13:31 +00:00
mips-float.c [Mips] Do not adjust float-abi flags in case of MIPS16 mode. This code 2013-11-19 12:22:38 +00:00
mips-fsf.cpp Fix clang tests 2016-10-18 19:22:20 +00:00
mips-ias-Wa.s [mips] Added support for -Wa,-mips32 and similar. 2016-01-14 13:01:48 +00:00
mips-img-v2.cpp Fix clang tests 2016-10-18 19:22:20 +00:00
mips-img.cpp Fix clang tests 2016-10-18 19:22:20 +00:00
mips-integrated-as.s [mips] Don't propagate -mfpxx by default if soft/single float were also set. 2015-06-16 13:54:13 +00:00
mips-mti-linux.c Fix tests with CLANG_DEFAULT_LINKER 2017-01-08 10:04:07 +00:00
mips-mti.cpp [driver][mips] Specify stdlib used in the tests explicitly 2016-05-26 11:32:19 +00:00
mips-reduced-toolchain.cpp Fix clash of gcc toolchains in driver regression tests. 2015-01-05 17:07:42 +00:00
mipsel-nacl-defines.cpp [Mips] Allocate NaClTargetInfo for MIPSEL NaCl 2013-09-21 01:27:01 +00:00
modules-cache-path.m Make the default module cache user-specific 2015-02-03 19:28:37 +00:00
modules-ts.cpp Unrevert r280035 now that the clang-cl bug it exposed has been fixed by 2016-08-30 19:06:26 +00:00
modules.m [Modules] Add a command line option for loading the clang builtins modulemap. 2016-10-31 08:21:54 +00:00
modules.mm [modules] Rename -fmodule-maps to -fimplicit-module-maps (and likewise for 2015-06-16 00:20:23 +00:00
montavista-gcc-toolchain.c [Driver] Make -print-libgcc-file-name print compiler-rt lib when used 2016-10-10 12:23:40 +00:00
mrecip.c add the -mrecip driver flag and process its options (3rd try) 2015-06-11 14:53:41 +00:00
ms-bitfields.c Mark clang/test/Driver/ms-bitfields.c as REQUIRES:clang-driver. 2015-11-12 22:25:38 +00:00
msan.c Teach Clang about the PPC64 memory sanitizer implementation. 2015-06-25 10:35:19 +00:00
msc-version.c Loosen checks for _MSC_FULL_VER under -fms-extensions. 2016-12-08 01:11:41 +00:00
msvc-compiler-rt.c [Driver] Enable --rtlib option for MSVC target 2016-03-14 11:19:43 +00:00
msvc-link.c Driver: support -L for MSVC toolchain under the GNU driver 2016-07-01 15:36:31 +00:00
msvc-triple.c Add more tests for MSVC version handling. 2016-12-07 23:39:44 +00:00
msvc_forward.c Fix forwarding -l to MSVC's link.exe 2014-09-16 19:22:00 +00:00
myriad-toolchain.c [Myriad] Find libc++ adjacent to libstdc++ 2016-10-25 23:02:30 +00:00
nacl-direct.c Change Native Client x86 usr include and link path to match SDK expectations 2015-08-26 17:14:08 +00:00
netbsd.c Ensure that clang -pthread creates the right macro. -D_POSIX_THREADS 2017-01-16 14:07:24 +00:00
netbsd.cpp Extend NetBSD/AArch64 to cover Big Endian as well. 2017-01-09 11:22:14 +00:00
no-canonical-prefixes.c Fix a tiny bug in -no-canonical-prefixes that somehow we have never 2015-08-05 17:07:33 +00:00
no-integrated-as-win.c Tidy up the no-external-assembler diag 2013-11-22 08:27:46 +00:00
no-integrated-as.c clang: forward -no-integrated-as from the driver 2014-02-22 23:37:58 +00:00
no-integrated-as.s Bring back r250262: PS4 toolchain 2015-10-14 12:25:43 +00:00
no-objc-arr.m
no-objc-default-synthesize-properties.m Produce an error for unknown -f options. 2013-09-25 19:07:08 +00:00
no-sibling-calls.c
nodefaultlib.c Fix rewrite of reserved library name in case of -nodefaultlibs 2015-11-24 16:07:21 +00:00
noexecstack.c Use -target instead of triple and use FileCheck. 2013-10-27 13:59:51 +00:00
noinline.c [Clang] Remove unwanted --check-prefix=CHECK from unit tests. NFC. 2016-04-20 01:02:18 +00:00
nostdincxx.cpp Special-case the PS4 SDK for a clang test 2015-01-30 18:25:59 +00:00
nostdlib.c Fix tests with CLANG_DEFAULT_LINKER 2017-01-08 10:04:07 +00:00
nostdlibinc.c
nozlibcompress.c Make nozlibcompress.c pass and reenable it. 2016-02-07 21:32:17 +00:00
objc++-cpp-output.mm Add -fexceptions for targets where it isn't the default. 2015-03-02 19:11:53 +00:00
objc-cpp-output.m
objc-sdk-migration-options.m [SDK modernizer]. Patch fixes driver's lack of 2015-03-03 17:15:38 +00:00
objc-weak.m [test] Don't use "UNSUPPORTED" in FileCheck prefixes 2016-04-02 05:29:00 +00:00
offloading-interoperability.c Allow .exe extension to ld to fix test with mingw. 2016-08-01 10:14:54 +00:00
openbsd.c Revert r286735 due to test failure 2016-11-13 00:16:21 +00:00
opencl.cl [OpenCL] Handle -cl-fp32-correctly-rounded-divide-sqrt 2016-08-09 20:10:18 +00:00
openmp-offload.c Fix this test when we have clang-offload-bundler.exe. 2016-10-31 11:47:37 +00:00
opt-record.c [Driver][OpenMP] Add support to create jobs for unbundling actions. 2016-10-27 18:14:55 +00:00
option-aliases.c Use -### instead of -ccc-print-options. 2013-09-03 13:26:49 +00:00
output-file-cleanup.c Bail on compilation as soon as a job fails. 2016-02-24 21:49:28 +00:00
output-file-is-dir.c
parse-progname.c Try to fix parse-progname.c test on Darwin 2014-10-17 20:55:54 +00:00
pch-deps.c Add option to switch off putting header modules into the dependency file. 2015-03-19 12:00:22 +00:00
phases.c Reapply "Change -save-temps to emit unoptimized bitcode files." 2014-12-21 07:00:00 +00:00
pic.c Revert "Driver: switch Windows to static RelocModel" 2016-12-28 17:41:36 +00:00
ppc-abi.c Use PIC relocation mode by default for PowerPC64 ELF 2016-12-15 00:02:57 +00:00
ppc-dependent-options.cpp [Power9] Builtins for ELF v.2 ABI conformance - front end portion 2016-09-27 10:45:22 +00:00
ppc-endian.c [Driver] Use llvm::Triple methods to handle -EL and -EB. 2015-07-06 23:59:45 +00:00
ppc-features.cpp [PowerPC] Enable soft-float for PPC64, and +soft-float -> -hard-float 2016-10-02 02:10:45 +00:00
prefixed-tools.c Fix tests with CLANG_DEFAULT_LINKER 2017-01-08 10:04:07 +00:00
preprocess-multiple.c Add driver test for multiple preprocessor inputs 2014-02-24 08:17:02 +00:00
preprocessor.c
preserve-as-comments.c Replace preserve-as-comments CodeGen test with driver test 2016-07-28 00:36:34 +00:00
preserve-uselistorder.c uselistorder: -mllvm -preserve-bc-use-list-order => -emit-llvm-uselists 2015-04-15 01:16:18 +00:00
print-libgcc-file-name-clangrt.c [Driver] Make -print-libgcc-file-name print compiler-rt lib when used 2016-10-10 12:23:40 +00:00
print-libgcc-file-name-libgcc.c [Driver] Make -print-libgcc-file-name print compiler-rt lib when used 2016-10-10 12:23:40 +00:00
ps4-analyzer-defaults.cpp [Analyzer] Change the default SA checkers for PS4 2016-01-06 10:03:58 +00:00
ps4-cpu-defaults.cpp Shuffle tests around to more appropriate files 2015-01-30 18:25:48 +00:00
ps4-header-search.c [PS4] Change the names of some "environmental" things to what our 2016-05-16 17:22:25 +00:00
ps4-linker-non-win.c [PS4] Change the names of some "environmental" things to what our 2016-05-16 17:22:25 +00:00
ps4-linker-win.c Revert "[PS4] Tighten up a test (noticed in passing)" 2016-06-29 00:29:23 +00:00
ps4-pic.c Restructure the propagation of -fPIC/-fPIE. 2016-06-23 15:07:32 +00:00
ps4-runtime-flags.c [PS4][Profile] add "--dependent-lib=libclang_rt.profile-x86_64.a" to 2015-12-16 17:25:27 +00:00
ps4-sdk-root.c [PS4] Clean up some test commentary. NFC 2016-05-18 15:35:58 +00:00
pth.c
qa_override.c Remove support for the QA_OVERRIDE_GCC3_OPTIONS environment variable. 2014-02-23 00:11:56 +00:00
r600-mcpu.cl AMDGPU: Add missing Volcanic Islands targets 2016-02-29 15:08:56 +00:00
redundant-args.c
redzone.c
relax.c Handle -Wa,--mrelax-relocations=[no|yes]. 2016-05-29 02:01:14 +00:00
relax.s Handle -Wa,--mrelax-relocations=[no|yes]. 2016-05-29 02:01:14 +00:00
renderscript.rs Add a RenderScript language type 2016-06-09 21:57:40 +00:00
response-file-extra-whitespace.c Use printf instead of "echo -ne". 2016-10-26 03:38:48 +00:00
response-file.c MarkEOLs should only be true for clang-cl.exe. 2016-04-20 00:33:06 +00:00
retain-comments-from-system-headers.c
rewrite-legacy-objc.m Record function attribute "stackrealign" instead of using backend option 2015-09-11 18:55:09 +00:00
rewrite-map-files.c Driver: avoid failing in the backend 2016-09-26 04:48:22 +00:00
rewrite-map-in-diagnostics.c Revert 9 changes from r284793, they still fail on some bots 2016-10-20 23:30:39 +00:00
rewrite-objc.m Record function attribute "stackrealign" instead of using backend option 2015-09-11 18:55:09 +00:00
ropi-rwpi.c [ARM] Command-line options for embedded position-independent code 2016-08-08 15:28:40 +00:00
rtti-options.cpp PS4: Add tests for rtti/vptr-sanitizer interaction 2015-10-16 15:07:56 +00:00
sanitize_unwind_tables.c [esan|wset] Add working set tool driver flags 2016-05-25 00:41:24 +00:00
sanitizer-ld.c Fix tests with CLANG_DEFAULT_LINKER 2017-01-08 10:04:07 +00:00
save-stats.c Fix test on windows 2016-09-26 20:48:34 +00:00
save-temps.c Pass dwarf-version to cc1as. 2016-04-19 17:43:54 +00:00
show-option-names.c [Driver] Use -fsyntax-only in test/Driver/show-option-names.c 2016-10-11 18:38:33 +00:00
solaris-header-search.cpp [Solaris] Use the GCC Installation detector to add the C++ include paths. 2015-09-09 13:36:00 +00:00
solaris-ld.c [Solaris] Add -lc also when linking shared libraries 2015-09-14 19:30:53 +00:00
solaris-opts.c [Solaris] Default to -fno-cxa-finalize. 2015-09-14 23:21:31 +00:00
sparc-as.c [Sparc] Allow LEON cpu models to be selected with -mcpu 2016-07-04 08:56:08 +00:00
sparc-float.c [Sparc] Add software float option -msoft-float 2016-05-24 08:30:08 +00:00
sparcv9-as.c Revert Sparc and SparcV9 to external assembler. Now that the CPU 2015-11-27 13:16:33 +00:00
split-debug.c DebugInfo: Fix -gsplit-dwarf + -fno-split-dwarf-inlining 2016-08-31 20:54:35 +00:00
split-debug.h Modules builds are necessarily compile actions, but they don't 2016-03-24 00:34:02 +00:00
split-debug.s clang/test/Driver: Some tests don't REQUIRE asserts any more. Remove them. 2014-10-12 06:44:05 +00:00
split-stack-ld.c Pass --wrap=pthread_create to linker for -fsplit-stack. 2016-01-25 18:29:16 +00:00
stack-protector.c [Driver][Darwin] Disable default stack protector levels in freestanding mode. 2016-12-08 00:22:06 +00:00
stackrealign.c clang/test/Driver/stackrealign.c REQUIRES clang-driver. 2015-09-12 01:29:35 +00:00
std.c Add driver flags -ftrigraphs, -fno-trigraphs. 2014-12-23 22:32:37 +00:00
std.cpp Add -std=c++1z flag for C++17 features. 2014-06-16 15:16:56 +00:00
symbol-rewriter.c Driver: begin threading frontend support for SymbolRewriter 2015-01-09 05:10:20 +00:00
sysroot-flags.c
sysroot.c Fix clang tests 2016-10-18 19:22:20 +00:00
systemz-as.s [SystemZ] Address review comments for r219679 2014-10-14 16:46:45 +00:00
systemz-features.cpp [SystemZ] Add support for z13 and its vector facility 2015-05-05 19:35:52 +00:00
systemz-march.c [SystemZ] Add -march=archX aliases 2016-10-31 14:38:05 +00:00
target-abi-cc1as.s Recommit "[IAS] Teach -cc1as about the 'target-abi' option." 2015-03-05 13:39:14 +00:00
target-as.s clang/test/Driver: Remove the feature "clang-driver" in three tests since they might work as expected since their first commit. 2013-08-20 12:16:35 +00:00
target-triple-deployment.c ARM64: initial clang support commit. 2014-03-29 15:09:45 +00:00
target.c Revert "Allow -target= and --target options" 2015-05-11 17:05:05 +00:00
thinlto.c Recommit "Clang support for -flto=thin." 2015-10-15 20:35:53 +00:00
thinlto_backend.c Remove target specifier from new tests 2015-12-07 20:40:36 +00:00
thread-model.c [WebAssembly] Initial WebAssembly support in clang 2015-09-03 22:51:53 +00:00
tsan.c SanitizerArgs: add ability to filter/diagnose unsupported sanitizers. 2013-11-01 18:16:25 +00:00
unknown-arg.c Recommit the test for r258720 using -### 2016-01-26 02:23:05 +00:00
unknown-gcc-arch.c Use the integrated assembler by default on 32-bit PowerPC and SPARC. 2015-01-14 07:55:36 +00:00
unsupported-target-arch.c Fix crash with unsupported architectures in Linux/Gnu target triples. 2016-12-01 11:02:59 +00:00
verify_pch.m Add a CC1 option -verify-pch 2014-02-05 22:21:15 +00:00
vfsoverlay.c Add a driver option -ivfsoverlay 2014-02-25 18:23:47 +00:00
via-file-asm.c Fix via-file-asm test failure on windows 2013-12-10 00:54:30 +00:00
visibility.cpp Fix broken CHECK lines 2014-02-16 07:29:41 +00:00
warning-options.cpp Fix a regex error breaking tests. 2016-09-20 19:10:56 +00:00
warning-options_pedantic.cpp Fix tests so they work when the linker is gcc 2015-02-12 03:37:55 +00:00
wasm-toolchain.c [WebAssembly] Initial driver support for standard library paths. 2016-02-22 19:26:15 +00:00
wasm32-unknown-unknown.cpp [WebAssembly] Enable -fvisibility=hidden by default. 2016-01-07 01:00:21 +00:00
wasm64-unknown-unknown.cpp [WebAssembly] Enable -fvisibility=hidden by default. 2016-01-07 01:00:21 +00:00
watchos-version-min.c ARMv7k: implement ABI changes for watchOS from standard iOS. 2015-10-30 16:30:45 +00:00
whole-program-vtables.c Re-apply r267784, r267824 and r267830. 2016-04-28 17:09:37 +00:00
win-macho-unwind.c Do not add uwtable attribute by default for MachO targets. 2016-05-05 01:41:07 +00:00
windows-arm-minimal-arch.c [Driver] Inject the MSVC compatibility version into the triple 2015-06-08 00:22:46 +00:00
windows-cross.c Fix tests with CLANG_DEFAULT_LINKER 2017-01-08 10:04:07 +00:00
windows-pic.cpp Driver: warn on -fPIC/-fpic/-fPIE/-fpie on Windows 2016-12-26 03:35:24 +00:00
windows-thumb.s [ARM] Pass thumb as architecture to the underlying tools, when targeting windows 2016-07-27 14:12:20 +00:00
windows-wildcard-expansion.c Expand the wildcard expansion test to also cover '?' 2014-07-16 16:14:09 +00:00
woa-fp.c Driver: follow WoA ABI recommendations 2015-10-03 03:39:28 +00:00
woa-restrict-it.c Driver: force restricted IT blocks for Windows on ARM 2014-05-18 06:42:02 +00:00
working-directory-and-abs.c
working-directory.c Erase REQUIRES: shell-preserves-root from remaining tests, see r242312.þ 2015-07-15 20:04:18 +00:00
x86-march.c [X86] Add recent CPU strings to some of the tests that check other cpu names. 2017-01-10 06:02:16 +00:00
x86-target-features.c [X86] Add -m[no-]x87 and -m[no-]80387 options to control FeatureX87. 2016-05-04 11:28:22 +00:00
x86_64-nacl-defines.cpp
x86_features.c Make the msse4/mno-sse4 flags aliases of the maximum sse values 2015-03-25 22:09:26 +00:00
x86_m16.c Add -m16 option for using x86-*-*-code16 triple 2014-01-21 17:19:44 +00:00
xcore-opts.c [xcore] Make the exceptions test actually check for the absence of -fexceptions in the proper place 2015-01-29 15:03:36 +00:00