[PATCH] D35426: [clang] Add abi-breaking-checks support to clang

Mandeep Singh Grang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 25 16:00:41 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL309049: [clang] Add abi-breaking-checks support to clang (authored by mgrang).

Changed prior to commit:
  https://reviews.llvm.org/D35426?vs=106671&id=108180#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D35426

Files:
  cfe/trunk/test/lit.cfg
  cfe/trunk/test/lit.site.cfg.in


Index: cfe/trunk/test/lit.site.cfg.in
===================================================================
--- cfe/trunk/test/lit.site.cfg.in
+++ cfe/trunk/test/lit.site.cfg.in
@@ -24,6 +24,7 @@
 config.enable_shared = @ENABLE_SHARED@
 config.enable_backtrace = @ENABLE_BACKTRACES@
 config.host_arch = "@HOST_ARCH@"
+config.enable_abi_breaking_checks = "@LLVM_ENABLE_ABI_BREAKING_CHECKS@"
 
 # Support substitution of the tools and libs dirs with user parameters. This is
 # used when we can't determine the tool dir at configuration time.
Index: cfe/trunk/test/lit.cfg
===================================================================
--- cfe/trunk/test/lit.cfg
+++ cfe/trunk/test/lit.cfg
@@ -532,3 +532,6 @@
 macOSSDKVersion = lit.util.findPlatformSdkVersionOnMacOS(config, lit_config)
 if macOSSDKVersion is not None:
     config.available_features.add('macos-sdk-' + macOSSDKVersion)
+
+if config.enable_abi_breaking_checks == "1":
+    config.available_features.add('abi-breaking-checks')


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35426.108180.patch
Type: text/x-patch
Size: 995 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170725/73bf0a3f/attachment.bin>


More information about the cfe-commits mailing list