[llvm-bugs] [Bug 28842] AVX512: missing enumeration for integer comparisions (_MM_CMPINT_LT, etc.)

2016-08-07 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=28842

AsafBadouh  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||asaf.bad...@intel.com
 Resolution|--- |FIXED

--- Comment #3 from AsafBadouh  ---
reviewed (by Elena Demikhovsky)  and committed
https://reviews.llvm.org/D22212

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 28889] New: include/llvm/MC/MCAsmInfo.h:506:39: error: 'ruturn' was not declared in this scope

2016-08-07 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=28889

Bug ID: 28889
   Summary: include/llvm/MC/MCAsmInfo.h:506:39: error: 'ruturn'
was not declared in this scope
   Product: libraries
   Version: trunk
  Hardware: PC
OS: other
Status: NEW
  Severity: normal
  Priority: P
 Component: Target Description Classes
  Assignee: unassignedb...@nondot.org
  Reporter: cgwic...@gmail.com
CC: llvm-bugs@lists.llvm.org
Classification: Unclassified

ruturn instead of return

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 28890] New: libFuzzer 3.8 fails with "illegal hardware instruction"

2016-08-07 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=28890

Bug ID: 28890
   Summary: libFuzzer 3.8 fails with "illegal hardware
instruction"
   Product: new-bugs
   Version: 3.8
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P
 Component: new bugs
  Assignee: unassignedb...@nondot.org
  Reporter: sylves...@debian.org
CC: jack.ll...@gmail.com, llvm-bugs@lists.llvm.org,
vonos...@gmail.com
Depends on: 25991
Classification: Unclassified

Trying the example with llvm 3.8:
http://llvm.org/docs/LibFuzzer.html

$ apt-get install libfuzzer-3.8-dev clang-3.8
[..]

$ cat << EOF > test_fuzzer.cc
#include 
#include 
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
  if (size > 0 && data[0] == 'H')
if (size > 1 && data[1] == 'I')
   if (size > 2 && data[2] == '!')
   __builtin_trap();
  return 0;
}
EOF

$ clang++-3.8 -fsanitize=address -fsanitize-coverage=edge test_fuzzer.cc
/usr/lib/llvm-3.8/lib/libFuzzer.a

$ ./a.out
Seed: 2980367726
PreferSmall: 1
#0READ   units: 1 exec/s: 0
#1INITED cov: 2 units: 1 exec/s: 0
#2NEWcov: 3 units: 2 exec/s: 0 L: 64 MS: 0 
#657NEWcov: 4 units: 3 exec/s: 0 L: 64 MS: 0 
#1070NEWcov: 5 units: 4 exec/s: 0 L: 1 MS: 4
ShuffleBytes-ChangeByte-EraseByte-CrossOver-
#4893NEWcov: 6 units: 5 exec/s: 0 L: 2 MS: 2 CrossOver-ChangeBit-
#5577NEWcov: 7 units: 6 exec/s: 0 L: 50 MS: 1 CrossOver-
zsh: illegal hardware instruction  ./a.out

reported here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=833563

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 28627] The function [ getSystemRegistryString ] in [ clang\lib\Driver\MSVCToolChain.cpp ] call readFullStringValue not properly.

2016-08-07 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=28627

ankisme  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 28839] AVX512: Register allocator doesn't understand mask registers

2016-08-07 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=28839

Elena Demikhovsky  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #1 from Elena Demikhovsky  ---
Fixed in 277958.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 28891] New: llvm lib crashes luxmark when using mesa opencl

2016-08-07 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=28891

Bug ID: 28891
   Summary: llvm lib crashes luxmark when using mesa opencl
   Product: new-bugs
   Version: trunk
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P
 Component: new bugs
  Assignee: unassignedb...@nondot.org
  Reporter: dark.shad...@web.de
CC: llvm-bugs@lists.llvm.org
Classification: Unclassified

Created attachment 16906
  --> https://llvm.org/bugs/attachment.cgi?id=16906&action=edit
Console log and backtrace

A lot of programs crash with a segmentation fault in llvm when using opencl,
using luxmark as example. Backtrace attached.

Hope this is the right place for this issue, I'll provide more information if
needed.

On
 Arch linux 64bit
 with Radeon R9 285 

Using
 Mesa 12.1.0-devel (git-3fb4a9b)
 llvm-libs-svn=277953
 llvm-svn=277953
 opencl-mesa-git 83708.3fb4a9b-1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 28892] New: AVX512: fmsub intrinsic generates fmadd instruction

2016-08-07 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=28892

Bug ID: 28892
   Summary: AVX512: fmsub intrinsic generates fmadd instruction
   Product: libraries
   Version: trunk
  Hardware: PC
OS: All
Status: NEW
  Severity: normal
  Priority: P
 Component: Backend: X86
  Assignee: unassignedb...@nondot.org
  Reporter: wenzel.ja...@epfl.ch
CC: llvm-bugs@lists.llvm.org
Classification: Unclassified

Consider the following simple snippet which uses the fused multiply subtract
instruction on AVX512 and AVX:

=

#include 

__m512 test(__m512 a, __m512 b, __m512 c) {
return _mm512_fmsub_ps(a, b, c);
}

__m256 test(__m256 a, __m256 b, __m256 c) {
return _mm256_fmsub_ps(a, b, c);
}

=

In the AVX512 case, LLVM trunk generates the following weird code which does a
sign flip first followed by a FMADD instruction. The AVX backend, in
comparison, generates the expected (single FMADD instruction).

__Z4testDv16_fS_S_:
vpxordLCPI0_0(%rip), %zmm2, %zmm2
vfmadd213ps%zmm2, %zmm1, %zmm0
retq

__Z4testDv8_fS_S_:
vfmsub213ps%ymm2, %ymm1, %ymm0
retq

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 28893] New: Error while linking llvm-pdbdump with DebugInfoPDB

2016-08-07 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=28893

Bug ID: 28893
   Summary: Error while linking llvm-pdbdump with DebugInfoPDB
   Product: libraries
   Version: trunk
  Hardware: PC
OS: other
Status: NEW
  Severity: normal
  Priority: P
 Component: DebugInfo
  Assignee: unassignedb...@nondot.org
  Reporter: cgwic...@gmail.com
CC: llvm-bugs@lists.llvm.org
Classification: Unclassified

Error text:
Linking CXX executable ..\..\bin\llvm-pdbdump.exe
../../lib/libLLVMDebugInfoPDB.a(PDB.cpp.obj):PDB.cpp:(.text+0x4c): undefined
reference to `llvm::pdb::RawSession::createFromPdb(llvm::StringRef,
std::unique_ptr >&)'
../../lib/libLLVMDebugInfoPDB.a(PDB.cpp.obj):PDB.cpp:(.text+0xac): undefined
reference to `llvm::pdb::RawSession::createFromExe(llvm::StringRef,
std::unique_ptr >&)'
collect2.exe: error: ld returned 1 exit status
tools\llvm-pdbdump\CMakeFiles\llvm-pdbdump.dir\build.make:459: recipe for
target 'bin/llvm-pdbdump.exe' failed
mingw32-make[2]: *** [bin/llvm-pdbdump.exe] Error 1
CMakeFiles\Makefile2:38526: recipe for target
'tools/llvm-pdbdump/CMakeFiles/llvm-pdbdump.dir/all' failed
mingw32-make[1]: *** [tools/llvm-pdbdump/CMakeFiles/llvm-pdbdump.dir/all] Error
2
Makefile:148: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

toolchain:
gcc version 6.1.0 (i686-posix-dwarf, Built by MinGW-W64 project)

OS
Microsoft Windows [Version 6.1.7601]

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 28881] Regression(277870:277885): Various miscompiles

2016-08-07 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=28881

Nico Weber  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Nico Weber  ---
dannyb: Thanks, that's good to know.

spatel: Hm yeah, looks like all bots have recovered. It's not clear what fixed
it (277909?), but since things are happy again let's close this bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 28894] New: Regression(274369:277909): Assertion failed: (index < Probs.size() && "Not a current successor!"), function getProbabilityIterator, when building chromium for chromecast

2016-08-07 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=28894

Bug ID: 28894
   Summary: Regression(274369:277909): Assertion failed: (index <
Probs.size() && "Not a current successor!"), function
getProbabilityIterator, when building chromium for
chromecast
   Product: libraries
   Version: trunk
  Hardware: PC
OS: All
Status: NEW
  Severity: normal
  Priority: P
 Component: Backend: ARM
  Assignee: unassignedb...@nondot.org
  Reporter: nicolaswe...@gmx.de
CC: llvm-bugs@lists.llvm.org
Classification: Unclassified

Sorry about the huge regression range. I'll try to narrow it down.

Assertion failed: (index < Probs.size() && "Not a current successor!"),
function getProbabilityIterator, file
/b/build/slave/mac_upload_clang/build/src/third_party/llvm/lib/CodeGen/MachineBasicBlock.cpp,
line 1184.
Stack dump:
0.Program arguments:
/Users/thakis/src/chrome/src/third_party/llvm-build/Release+Asserts/bin/clang
-cc1 -triple thumbv7--linux-android -emit-obj -disable-free -main-file-name
SkLightingImageFilter.cpp -mrelocation-model pic -pic-level 2 -mthread-model
posix -relaxed-aliasing -fmath-errno -masm-verbose -mconstructor-aliases
-munwind-tables -fuse-init-array -target-cpu cortex-a8 -target-feature
+soft-float-abi -target-feature -fp-only-sp -target-feature -d16
-target-feature +vfp3 -target-feature -fp16 -target-feature -vfp4
-target-feature -fp-armv8 -target-feature +neon -target-feature -crypto
-target-abi aapcs-linux -mfloat-abi soft -target-linker-version 253.3
-dwarf-column-info -debug-info-kind=line-tables-only -dwarf-version=4
-debugger-tuning=gdb -ffunction-sections -fdata-sections -coverage-file
/Users/thakis/src/chrome/src/out/gn/obj/skia/skia/SkLightingImageFilter.o
-resource-dir
/Users/thakis/src/chrome/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/4.0.0
-dependency-file obj/skia/skia/SkLightingImageFilter.o.d -MT
obj/skia/skia/SkLightingImageFilter.o -isystem
../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++/libcxx/include
-isystem
../../third_party/android_tools/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/include
-isystem ../../third_party/android_tools/ndk/sources/android/support/include -D
V8_DEPRECATION_WARNINGS -D ENABLE_NOTIFICATIONS -D ENABLE_BROWSER_CDMS -D
ENABLE_PLUGINS=1 -D ENABLE_SPELLCHECK=1 -D USE_BROWSER_SPELLCHECKER=1 -D
USE_OPENSSL_CERTS=1 -D NO_TCMALLOC -D USE_EXTERNAL_POPUP_MENU=1 -D
ENABLE_WEBRTC=1 -D DISABLE_NACL -D USE_PROPRIETARY_CODECS -D
SAFE_BROWSING_DB_REMOTE -D CHROMIUM_BUILD -D ENABLE_WEBVR -D
FIELDTRIAL_TESTING_ENABLED -D CR_CLANG_REVISION=277909-1 -D
_FILE_OFFSET_BITS=64 -D ANDROID -D HAVE_SYS_UIO_H -D ANDROID_NDK_VERSION=r10e
-D __GNU_SOURCE=1 -D __compiler_offsetof=__builtin_offsetof -D
nan=__builtin_nan -D _DEBUG -D DYNAMIC_ANNOTATIONS_ENABLED=1 -D
WTF_USE_DYNAMIC_ANNOTATIONS=1 -D SK_IGNORE_DW_GRAY_FIX -D
SK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -D SK_SUPPORT_GPU=1 -D
SK_BUILD_FOR_ANDROID -D USE_CHROMIUM_SKIA -D SK_ARM_HAS_NEON -D
SK_GAMMA_APPLY_TO_A8 -D SK_GAMMA_EXPONENT=1.4 -D SK_GAMMA_CONTRAST=0.0 -D
SK_DEFAULT_FONT_CACHE_LIMIT=1048576 -D XML_STATIC -I ../.. -I gen -I
../../skia/config -I ../../skia/ext -I ../../third_party/skia/include/c -I
../../third_party/skia/include/config -I ../../third_party/skia/include/core -I
../../third_party/skia/include/effects -I ../../third_party/skia/include/images
-I ../../third_party/skia/include/lazy -I
../../third_party/skia/include/pathops -I ../../third_party/skia/include/pdf -I
../../third_party/skia/include/pipe -I ../../third_party/skia/include/ports -I
../../third_party/skia/include/utils -I ../../third_party/skia/include/gpu -I
../../third_party/skia/src/gpu -I ../../third_party/skia/include/private -I
../../third_party/skia/include/client/android -I
../../third_party/skia/src/core -I ../../third_party/skia/src/image -I
../../third_party/skia/src/opts -I ../../third_party/skia/src/pdf -I
../../third_party/skia/src/ports -I ../../third_party/skia/src/sfnt -I
../../third_party/skia/src/utils -I ../../third_party/skia/src/lazy -I
../../third_party/zlib -I
../../third_party/android_tools/ndk/sources/android/cpufeatures -I
../../third_party/expat/files/lib -I ../../third_party/freetype-android/include
-I ../../third_party/freetype-android/src/include -isysroot
../../third_party/android_tools/ndk/platforms/android-16/arch-arm
-internal-isystem
../../third_party/android_tools/ndk/platforms/android-16/arch-arm/usr/local/include
-internal-isystem
/Users/thakis/src/chrome/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/4.0.0/include
-internal-externc-isystem
../../third_party/android_tools/ndk/platforms/android-16/arch-arm/include
-internal-externc-isystem
../../third_party/android_tools/ndk/platforms/android-16/arch-arm/usr/include
-Os -Werror -Wall -Wno-unused-variable -Wno-missing-field-initializers
-Wno-unused-

[llvm-bugs] [Bug 28895] New: [x86, SSE] failed to simplify vector select with zero constant to 'and'

2016-08-07 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=28895

Bug ID: 28895
   Summary: [x86, SSE] failed to simplify vector select with zero
constant to 'and'
   Product: libraries
   Version: trunk
  Hardware: PC
OS: All
Status: NEW
  Severity: normal
  Priority: P
 Component: Backend: X86
  Assignee: unassignedb...@nondot.org
  Reporter: spatel+l...@rotateright.com
CC: llvm-bugs@lists.llvm.org
Classification: Unclassified

While looking at the select fold in https://reviews.llvm.org/D22975, I noticed
this problem:

define <4 x float> @fselvec(<4 x float> %x, <4 x float> %y) {
  %cmp = fcmp oeq <4 x float> %x, zeroinitializer
  %sel = select <4 x i1> %cmp, <4 x float> %y, <4 x float> zeroinitializer
  ret <4 x float> %sel
}

This should be an 'and' bitwise logic op, but:

$ ./llc  fsel.ll -o -  -mattr=avx
vxorps%xmm2, %xmm2, %xmm2
vcmpeqps%xmm2, %xmm0, %xmm0
vblendvps%xmm0, %xmm1, %xmm2, %xmm0
retq


The optimization exists for AArch64:

$ ./llc  fsel.ll -o -  -mtriple=aarch64
fcmeqv0.4s, v0.4s, #0.0
andv0.16b, v1.16b, v0.16b
ret

The optimization also exists for x86 FP scalar and x86 integer vector, so some
refactoring may be needed:

define float @fsel(float %x, float %y) {
  %cmp = fcmp oeq float %x, 0.0
  %sel = select i1 %cmp, float %y, float 0.0
  ret float %sel
}

define <4 x i32> @iselvec(<4 x i32> %x, <4 x i32> %y) {
  %cmp = icmp eq <4 x i32> %x, zeroinitializer
  %sel = select <4 x i1> %cmp, <4 x i32> %y, <4 x i32> zeroinitializer
  ret <4 x i32> %sel
}

_fsel:  ## @fsel
vxorps%xmm2, %xmm2, %xmm2
vcmpeqss%xmm2, %xmm0, %xmm0
vandps%xmm1, %xmm0, %xmm0
retq

_iselvec:   ## @iselvec
vpxor%xmm2, %xmm2, %xmm2
vpcmpeqd%xmm2, %xmm0, %xmm0
vpand%xmm1, %xmm0, %xmm0
retq

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 28896] New: Error building clang documentation with doxygen under MSYS2

2016-08-07 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=28896

Bug ID: 28896
   Summary: Error building clang documentation with doxygen under
MSYS2
   Product: Build scripts
   Version: trunk
  Hardware: PC
OS: other
Status: NEW
  Severity: normal
  Priority: P
 Component: cmake
  Assignee: unassignedb...@nondot.org
  Reporter: cgwic...@gmail.com
CC: llvm-bugs@lists.llvm.org
Classification: Unclassified

Error message:
error: Failed to open temporary file
/C/tools/llvm/build/tools/clang/docs/C:/tools/llvm/build/tools/clang/docs/doxygen/doxygen_objdb_1360.tmp

Caused by absolute paths in doxygen configuration file and besides this it
stops installation process. 
There's workaround: to run doxygen from windows command shell and then start
installation again

MSYS version:
MSYS_NT-6.1 amd 2.5.2(0.297/5/3) 2016-07-15 08:31 x86_64 Msys

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 28897] New: PCH/headersearch.cpp flaky on Windows

2016-08-07 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=28897

Bug ID: 28897
   Summary: PCH/headersearch.cpp flaky on Windows
   Product: clang
   Version: trunk
  Hardware: PC
OS: All
Status: NEW
  Severity: normal
  Priority: P
 Component: Frontend
  Assignee: unassignedclangb...@nondot.org
  Reporter: nicolaswe...@gmx.de
CC: llvm-bugs@lists.llvm.org
Classification: Unclassified

Failed once here, then cycled green on the next build:
http://lab.llvm.org:8011/builders/clang-x86-win2008-selfhost/builds/9597

FAIL: Clang :: PCH/headersearch.cpp (7160 of 27623)
 TEST 'Clang :: PCH/headersearch.cpp' FAILED

Script:
--
rm -rf
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_moved
mkdir -p
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/sub
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/sub2
echo 'struct orig_sub{char c; int i; };' >
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/sub/orig_sub.h
echo 'void orig_sub2_1();' >
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/sub2/orig_sub2_1.h
echo '#include "orig_sub2_1.h"' >
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/sub2/orig_sub2.h
echo 'template  void tf() { orig_sub2_1(); T::foo(); }' >>
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/sub2/orig_sub2.h
echo 'void foo() {}' >
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/tmp2.h
echo '#include "tmp2.h"' >
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/all.h
echo '#include "sub/orig_sub.h"' >>
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/all.h
echo '#include "orig_sub2.h"' >>
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/all.h
echo 'int all();' >>
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig/all.h
cd
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig
&& C:/buildbot/slave-config/clang-x86-win2008-selfhost/stage2/./bin/clang.EXE
-cc1 -internal-isystem
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\bin\..\lib\clang\4.0.0\include
-nostdsysteminc -triple i686-pc-mingw32 -x c++ -emit-pch -o all.h.pch -Isub2
all.h
cp -R
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_orig
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_moved
C:/buildbot/slave-config/clang-x86-win2008-selfhost/stage2/./bin/clang.EXE -cc1
-internal-isystem
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\bin\..\lib\clang\4.0.0\include
-nostdsysteminc -triple i686-pc-mingw32 -include-pch all.h.pch
-IC:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_moved
-IC:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_moved/sub2
-Wpadded -emit-llvm-only
C:\buildbot\slave-config\clang-x86-win2008-selfhost\llvm\tools\clang\test\PCH\headersearch.cpp
2>
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp.stderr
grep 'struct orig_sub'
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp.stderr
not C:/buildbot/slave-config/clang-x86-win2008-selfhost/stage2/./bin/clang.EXE
-cc1 -internal-isystem
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\bin\..\lib\clang\4.0.0\include
-nostdsysteminc -triple i686-pc-mingw32 -DREDECL -include-pch all.h.pch
-IC:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_moved
-IC:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp_moved/sub2
-emit-llvm-only
C:\buildbot\slave-config\clang-x86-win2008-selfhost\llvm\tools\clang\test\PCH\headersearch.cpp
2>
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\headersearch.cpp.tmp.stderr
grep 'void foo'
C:\buildbot\slave-config\clang-x86-win2008-selfhost\stage2\tools\clang\test\PCH\Output\he

[llvm-bugs] [Bug 27999] SROA Assertion `isAllocaPromotable(AI) && "Cannot promote non-promotable alloca!"' failed. 3.7+

2016-08-07 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=27999

Eli Friedman  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Eli Friedman  ---
r277969.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 28898] New: LLDB_EDITLINE_USE_WCHAR should be enabled on Arch.

2016-08-07 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=28898

Bug ID: 28898
   Summary: LLDB_EDITLINE_USE_WCHAR should be enabled on Arch.
   Product: lldb
   Version: unspecified
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P
 Component: All Bugs
  Assignee: lldb-...@lists.llvm.org
  Reporter: pablo.hernandez.cer...@outlook.com
CC: llvm-bugs@lists.llvm.org
Classification: Unclassified

Reporting upstream bug filed in Archlinux:
https://bugs.archlinux.org/task/49974?project=0 .
And same issue asked on SO:
http://superuser.com/questions/1098503/characters-turn-into-unicode-in-gnome-terminal-with-lldb

Extract from arch bug report:

Description:
After upgrading to [[libedit 20160618_3.1]] lldb no longer recognizes
characters correctly. Instead they are shown (and handled as) weird unicode
escape sequences, e.g. "\U+96272\U+96275\U+9626E" instead of "run". The exact
numbers also seem to change between restarts but the last two numbers always
represent the correct ascii hex code.

...

The NetBSD upstream for my package [..libedit..] now only build with unicode
(wide-char/UTF-8) support.
So it looks like LLDB_EDITLINE_USE_WCHAR=1 should be used on Arch Linux:
https://github.com/llvm-mirror/lldb/search?utf8=%E2%9C%93&q=LLDB_EDITLINE_USE_WCHAR

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[llvm-bugs] [Bug 28899] New: hexagon-clang: error: unable to execute command: Program could not be executed

2016-08-07 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=28899

Bug ID: 28899
   Summary: hexagon-clang: error: unable to execute command:
Program could not be executed
   Product: clang
   Version: unspecified
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P
 Component: Modules
  Assignee: unassignedclangb...@nondot.org
  Reporter: xuzheng12...@sina.com
CC: dgre...@apple.com, llvm-bugs@lists.llvm.org
Classification: Unclassified

Created attachment 16909
  --> https://llvm.org/bugs/attachment.cgi?id=16909&action=edit
log of build qualcomm modem code

ubuntu 12.04 
use hexagon tools 6.4.06, it will occur hexagon crash

=== Compiling  mapss_b/qdsp6/9607.gen.prod/DevCfgSegInfo.c
hexagon-clang: error: unable to execute command: Program could not be executed
hexagon-clang: error: hexagon-as command failed due to signal (use -v to see
invocation)
Target: hexagon
Thread model: posix
QuIC LLVM Hexagon Clang version 6.4.06,
(git://git-hexagon-aus.quicinc.com/llvm/clang-mainline
62979ad0642094eced906061be76e8d510ec6b02) (llvm/llvm-mainline
0afc9bc1c9eae90f0dbec56acae14d7bdb18ee9f)
hexagon-clang: note: diagnostic msg: Please report the bug through your
designated Qualcomm/QuIC support channel.
hexagon-clang: note: diagnostic msg: 


PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
hexagon-clang: note: diagnostic msg: /tmp/DevCfgSegInfo-hJ1LCM.c
hexagon-clang:
/tmp/bots/hexbotmaster-sles6/hexagon-clang-64/build/llvm/tools/clang/lib/Driver/Driver.cpp:529:
void
clang::driver::Driver::generateCompilationDiagnostics(clang::driver::Compilation&,
const clang::driver::Command*): Assertion `I != std::string::npos && "Expected
to find -main-file-name"' failed.
=== Compiling  mapss_b/qdsp6/9607.gen.prod/rcinit_autogen.c
0  hexagon-clang   0x01e9080f
1  hexagon-clang   0x01e9277a
2  libpthread.so.0 0x7feabd5bbcb0
3  libc.so.6   0x7feabc811445 gsignal + 53
4  libc.so.6   0x7feabc814bab abort + 379
5  libc.so.6   0x7feabc80a10e
6  libc.so.6   0x7feabc80a1b2
7  hexagon-clang   0x006ebbe6
8  hexagon-clang   0x006341c2 main + 4850
9  libc.so.6   0x7feabc7fc76d __libc_start_main + 237
10 hexagon-clang   0x0062cb59
Stack dump:
0.Program arguments:
/root/Qualcomm/HEXAGON_Tools/6.4.06/qc/bin/hexagon-clang -Werror -Wall
-Wpointer-arith -Wno-missing-braces -Werror=unused-result
-Werror=deprecated-declarations -Wstrict-prototypes -Wnested-externs -mv55
-Uqdsp6 -Uq6sim -Uqdsp6r0 -O2 -g -fdata-sections -ffunction-sections -nostdlib
-fno-exceptions -fno-strict-aliasing -fstack-protector
-DCUST_H="cust9607.gen.prodq.h" -DBUILD_TARGET="9607.gen.prodQ"
-DBUILD_VER="" -DBUILD_ASIC="9607"
-DBUILD_LICENSE_ENVIRONMENT=NON_GPL_ENVIRONMENT -DNON_GPL_ENVIRONMENT=1
-DGPL_ENVIRONMENT=2 -D__FILENAME__="DevCfgSegInfo.c" -D__MSMHW_APPS_PROC__=2
-D__MSMHW_MODEM_PROC__=1 -D__MSMHW_PROC_DEF__=__MSMHW_MODEM_PROC__
-DMSMHW_MODEM_PROC -DIMAGE_MODEM_PROC -DIMAGE_QDSP6_PROC
-DFEATURE_RUN_ON_SINGLE_HWTHREAD -DARCH_QDSP6 -DTHREAD_SAFE
-DCONFIG_RESTRICTED_VM=1 -DMACHINE_Q6SIM -DENDIAN_LITTLE
-DMY_GCC_FILE="DevCfgSegInfo.c" -DASSERT=ASSERT_FATAL
-hexagon-predef-argset=modem-sw -mllvm -disable-store-widen
-fno-strict-aliasing -DDAL_CONFIG_IMAGE_MODEM -DDAL_CONFIG_TARGET_ID=0x9607
-DMODEM_FW_NUM_PRIO=64 -DFEATURE_MDM9607 -DDEVCFG_TCSR_SOC_HW_ADDR=0x194D000
-I/home/xuzheng/work_space_9x07/modem_proc/core/dal/config/build
-I/home/xuzheng/work_space_9x07/modem_proc/scripts/cust
-I/home/xuzheng/work_space_9x07/modem_proc/build/cust -I.
-I/home/xuzheng/work_space_9x07/modem_proc/geran/api/public
-I/home/xuzheng/work_space_9x07/modem_proc/wcdma/api/public
-I/home/xuzheng/work_space_9x07/modem_proc/mmcp/api/public
-I/home/xuzheng/work_space_9x07/modem_proc/qmimsgs/common/api
-I/home/xuzheng/work_space_9x07/modem_proc/qmimsgs/test/api
-I/home/xuzheng/work_space_9x07/modem_proc/qmimsgs/sap/api
-I/home/xuzheng/work_space_9x07/modem_proc/qmimsgs/tmd/api
-I/home/xuzheng/work_space_9x07/modem_proc/qmimsgs/ts/api
-I/home/xuzheng/work_space_9x07/modem_proc/qmimsgs/mfs/api
-I/home/xuzheng/work_space_9x07/modem_proc/qmimsgs/time/api
-I/home/xuzheng/work_space_9x07/modem_proc/qmimsgs/rmtfs/api
-I/home/xuzheng/work_space_9x07/modem_proc/1x/api/public
-I/home/xuzheng/work_space_9x07/modem_proc/datamodem/api/public
-I/home/xuzheng/work_space_9x07/modem_proc/hdr/api/public
-I/home/xuzheng/work_space_9x07/modem_proc/mcfg_fwk/api
-I/home/xuzheng/work_space_9x07/modem_proc/tdscdma/api/public
-I/home/xuzheng/work_space_9x07/modem_proc/uim/api/public
-I/home/xuzheng/work_space_9x07/modem_proc/utils/api/public
-I/home/xuzheng/work_space_9x07/modem_proc/core/cust/inc
-I/home/xuzheng/work_space_9x07/modem_proc/core/variation/inc
-I/home/xuzheng/work_space_9x07/modem_pr

[llvm-bugs] [Bug 28900] New: "ERROR: ld.so: object 'libfakeroot-sysv.so' from LD_PRELOAD cannot be preloaded" in manpage

2016-08-07 Thread via llvm-bugs
https://llvm.org/bugs/show_bug.cgi?id=28900

Bug ID: 28900
   Summary: "ERROR:  ld.so:  object  'libfakeroot-sysv.so'  from
LD_PRELOAD cannot be preloaded" in manpage
   Product: lldb
   Version: 3.8
  Hardware: PC
OS: Linux
Status: NEW
  Severity: normal
  Priority: P
 Component: All Bugs
  Assignee: lldb-...@lists.llvm.org
  Reporter: llvm@elliottcable.com
CC: llvm-bugs@lists.llvm.org
Classification: Unclassified

Created attachment 16910
  --> https://llvm.org/bugs/attachment.cgi?id=16910&action=edit
Full lldb manpage as generated

I've installed `lldb` 3.8 from http://apt.llvm.org with these commands:
https://gist.github.com/ELLIOTTCABLE/ea68b9ec1257707bd625bf2955805e28#file-vagrantfile-llvm-rb-L13-L45
on Ubuntu 12.04 LTS ‘Precise Pangolin’

When opening `man lldb`, I see the following:

NAME
   lldb - manual page for lldb 3.8

DESCRIPTION
   ERROR:  ld.so:  object  'libfakeroot-sysv.so' from LD_PRELOAD cannot be
   preloaded: ignored.  ERROR: ld.so:  object  'libfakeroot-sysv.so'  from
   LD_PRELOAD  cannot  be  preloaded: ignored.  ERROR: ld.so: object 'lib‐
   fakeroot-sysv.so' from LD_PRELOAD cannot be preloaded: ignored.  ERROR:
   ld.so:  object  'libfakeroot-sysv.so'  from  LD_PRELOAD  cannot be pre‐
   loaded:  ignored.   ERROR:  ld.so:  object  'libfakeroot-sysv.so'  from
   LD_PRELOAD cannot be preloaded: ignored.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs