SuccessChanges

Summary

  1. Remember OffsetInArchive in LazyObjectFile. LazyObjectFile might turn out to be a BitcodeFile, so we need OffsetInArchive.
  2. Use the archive offset with --whole-archive. The test ELF/lto/thin-archivecollision.ll was not testing what it wanted to test. It needs two archive members with the same name, but different offsets. Without this we could remove all references of OffsetInArchive and all tests would still pass. Fixing the test showed that the --whole-archive case was broken, which this patch fixes.
  3. [Driver] Add a "-mmacos_version_min" option that's an alias for "-mmacosx_version_min" The option -mmacosx_version_min will still be the canonical option for now, but in the future we will switch over to -mmacos_version_min and make -mmacosx_version_min an alias instead. rdar://27043820 Differential Revision: https://reviews.llvm.org/D32796
  4. [ubsan]: temporarily disable print_stack_trace.cc test Some problems with ARM stack unwinding led to inaccurate stack traces being printed, which caused this test to fail on http://lab.llvm.org:8011/builders/clang-cmake-thumbv7-a15-full-sh
  5. [LoopIdiom] check for safety while expanding Loop Idiom recognition was generating memset in a case that would result generating a division operation to an unsafe location. Differential Revision: https://reviews.llvm.org/D32674
Revision 302242 by rafael:
Remember OffsetInArchive in LazyObjectFile.

LazyObjectFile might turn out to be a BitcodeFile, so we need
OffsetInArchive.
Change TypePath in RepositoryPath in Workspace
The file was modified/lld/trunk/ELF/Driver.cpp (diff)llvm-revision.src/lld/trunk/ELF/Driver.cpp
The file was modified/lld/trunk/ELF/InputFiles.cpp (diff)llvm-revision.src/lld/trunk/ELF/InputFiles.cpp
The file was modified/lld/trunk/ELF/InputFiles.h (diff)llvm-revision.src/lld/trunk/ELF/InputFiles.h
The file was modified/lld/trunk/test/ELF/lto/thin-archivecollision.ll (diff)llvm-revision.src/lld/trunk/test/ELF/lto/thin-archivecollision.ll
Revision 302241 by rafael:
Use the archive offset with --whole-archive.

The test ELF/lto/thin-archivecollision.ll was not testing what it
wanted to test. It needs two archive members with the same name, but
different offsets.

Without this we could remove all references of OffsetInArchive and all
tests would still pass.

Fixing the test showed that the --whole-archive case was broken, which
this patch fixes.
Change TypePath in RepositoryPath in Workspace
The file was modified/lld/trunk/ELF/Driver.cpp (diff)llvm-revision.src/lld/trunk/ELF/Driver.cpp
The file was modified/lld/trunk/test/ELF/lto/thin-archivecollision.ll (diff)llvm-revision.src/lld/trunk/test/ELF/lto/thin-archivecollision.ll
Revision 302240 by arphaman:
[Driver] Add a "-mmacos_version_min" option that's an alias for
"-mmacosx_version_min"

The option -mmacosx_version_min will still be the canonical option for now, but
in the future we will switch over to -mmacos_version_min and make
-mmacosx_version_min an alias instead.

rdar://27043820

Differential Revision: https://reviews.llvm.org/D32796
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Driver/Options.td (diff)llvm-revision.src/cfe/trunk/include/clang/Driver/Options.td
The file was modified/cfe/trunk/test/Driver/darwin-version.c (diff)llvm-revision.src/cfe/trunk/test/Driver/darwin-version.c
Revision 302239 by glider:
[ubsan]: temporarily disable print_stack_trace.cc test

Some problems with ARM stack unwinding led to inaccurate stack traces being
printed, which caused this test to fail on
http://lab.llvm.org:8011/builders/clang-cmake-thumbv7-a15-full-sh
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/test/ubsan/TestCases/Misc/Linux/print_stack_trace.cc (diff)llvm-revision.src/compiler-rt/trunk/test/ubsan/TestCases/Misc/Linux/print_stack_trace.cc
Revision 302238 by hiraditya:
[LoopIdiom] check for safety while expanding

Loop Idiom recognition was generating memset in a case that
would result generating a division operation to an unsafe location.

Differential Revision: https://reviews.llvm.org/D32674
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp (diff)llvm-revision.src/llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
The file was added/llvm/trunk/test/Transforms/LoopIdiom/unsafe.llllvm-revision.src/llvm/trunk/test/Transforms/LoopIdiom/unsafe.ll