[PATCH] D28757: [scudo] Eliminate the runtime dependency on libc++abi

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 12:52:04 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL292253: [scudo] Eliminate the runtime dependency on libc++abi (authored by phosek).

Changed prior to commit:
  https://reviews.llvm.org/D28757?vs=84515&id=84724#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D28757

Files:
  compiler-rt/trunk/lib/scudo/scudo_utils.cpp


Index: compiler-rt/trunk/lib/scudo/scudo_utils.cpp
===================================================================
--- compiler-rt/trunk/lib/scudo/scudo_utils.cpp
+++ compiler-rt/trunk/lib/scudo/scudo_utils.cpp
@@ -87,7 +87,7 @@
 
 bool testCPUFeature(CPUFeature Feature)
 {
-  static CPUIDRegs FeaturesRegs = getCPUFeatures();
+  CPUIDRegs FeaturesRegs = getCPUFeatures();
 
   switch (Feature) {
     case CRC32CPUFeature:  // CRC32 is provided by SSE 4.2.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28757.84724.patch
Type: text/x-patch
Size: 463 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170117/0360df6b/attachment.bin>


More information about the llvm-commits mailing list