[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[csmith-project/creduce] 1855ad: Make clang_delta read include path and target trip...



  Branch: refs/heads/llvm-svn-compatible
  Home:   https://github.com/csmith-project/creduce
  Commit: 1855ad479cdd81abeaf454358a4a0fbc6db3015f
      https://github.com/csmith-project/creduce/commit/1855ad479cdd81abeaf454358a4a0fbc6db3015f
  Author: Johan Bengtsson <johan.bengtsson@iar.com>
  Date:   2016-01-23 (Sat, 23 Jan 2016)

  Changed paths:
    M clang_delta/TransformationManager.cpp
    M creduce/creduce.in

  Log Message:
  -----------
  Make clang_delta read include path and target triple from environment

When reducing files that are not fully pre-processed clang_delta need to
know where to find the unresolved include files, and when cross-reducing
files, i.e. when the reduced file is aimed at a different system than
the one where the reduction is running, the clang target triple needs to
be changed to get the correct type sizes.

This patch make clang_delta read the header search path from the content
of CREDUCE_INCLUDE_PATH and the target triple from the content of
CREDUCE_TARGET_TRIPLE.


  Commit: ceec79f04f6a428240830128dcdc0dc8d692389f
      https://github.com/csmith-project/creduce/commit/ceec79f04f6a428240830128dcdc0dc8d692389f
  Author: Yang Chen <chenyang@cs.utah.edu>
  Date:   2016-01-23 (Sat, 23 Jan 2016)

  Changed paths:
    M clang_delta/LocalToGlobal.cpp

  Log Message:
  -----------
  Skip variable decls from the included files


Compare: https://github.com/csmith-project/creduce/compare/cb450d77249d...ceec79f04f6a