[PATCH] D48650: [analyzer] [WIP] Fix constraint being dropped when analyzing a program without taint tracking enabled

George Karpenkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 3 17:42:48 PDT 2018


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL336238: [libFuzzer] [NFC] Inline static variable to avoid the linker warning. (authored by george.karpenkov, committed by ).
Herald added subscribers: llvm-commits, delcypher.

Changed prior to commit:
  https://reviews.llvm.org/D48650?vs=153804&id=154027#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D48650

Files:
  compiler-rt/trunk/lib/fuzzer/FuzzerCommand.h


Index: compiler-rt/trunk/lib/fuzzer/FuzzerCommand.h
===================================================================
--- compiler-rt/trunk/lib/fuzzer/FuzzerCommand.h
+++ compiler-rt/trunk/lib/fuzzer/FuzzerCommand.h
@@ -29,8 +29,7 @@
   // is immutable, meaning this flag effectively marks the end of the mutable
   // argument list.
   static inline const char *ignoreRemainingArgs() {
-    static const char *kIgnoreRemaining = "-ignore_remaining_args=1";
-    return kIgnoreRemaining;
+    return "-ignore_remaining_args=1";
   }
 
   Command() : CombinedOutAndErr(false) {}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48650.154027.patch
Type: text/x-patch
Size: 580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180704/60f64c9d/attachment.bin>


More information about the llvm-commits mailing list