- Oct 27, 2013
-
-
Chandler Carruth authored
intended for debugging and diagnostic output), just inspect the spelling to check for specific prefixes in drectve section flags. In addition to being significantly cheaper and not relying on a debugging interface, this also avoids creating a temporary string and binding it to StringRef variable. We then went on to access it after the memory had been deallocated. This bug too was caught by ASan. I love ASan so much. =] llvm-svn: 193487
-
Chandler Carruth authored
More important than any performance concerns, the code was dropping the temporary string on the floor after assigning it to a StringRef, and then used the StringRef later. Caught by running the LLD tests under ASan. llvm-svn: 193486
-
- Oct 26, 2013
-
-
Alp Toker authored
Registered targets don't matter for Sema tests, this passes fine. llvm-svn: 193485
-
Rafael Espindola authored
llvm-svn: 193484
-
Shankar Easwaran authored
llvm-svn: 193483
-
Shankar Easwaran authored
llvm-svn: 193482
-
Shankar Easwaran authored
llvm-svn: 193481
-
Shankar Easwaran authored
llvm-svn: 193480
-
Shankar Easwaran authored
llvm-svn: 193479
-
Shankar Easwaran authored
llvm-svn: 193478
-
Shankar Easwaran authored
llvm-svn: 193477
-
Shankar Easwaran authored
On discussing this with Nick, it looks like the StubAtoms that contain a lazyImmediate reference kind should be null and the location needs to be fixed up later with some value that is an offset into the __LINKEDIT segment. The drawback is that it allows yaml files with references that expect a target to be considered without one. This results in bad yaml files that would need to be handled in the YAML Reader. Inorder to fix this, the Stub Atoms use a dummy target such as itself. llvm-svn: 193476
-
Daniel Jasper authored
Before: _versionLabel.text = [ NSString stringWithFormat:NSLocalizedString(@"version: %@", @"Label"), [NSBundle mainBundle].infoDictionary[@"CFBundleShortVersionString"] ]; After: _versionLabel.text = [NSString stringWithFormat:NSLocalizedString(@"version: %@", @"Label"), [NSBundle mainBundle].infoDictionary[@"CFBundleShortVersionString"]]; This fixed llvm.org/PR17695. llvm-svn: 193475
-
Alp Toker authored
llvm-svn: 193474
-
Alp Toker authored
The * could otherwise cause shell pathname expansion. llvm-svn: 193473
-
NAKAMURA Takumi authored
llvm-svn: 193472
-
Joerg Sonnenberger authored
so try PATH next. Assume it is sane enough to cover the usual system bash locations too, but the old list is not good enough for NetBSD. llvm-svn: 193471
-
Alexey Samsonov authored
llvm-svn: 193470
-
Benjamin Kramer authored
llvm-svn: 193469
-
Tobias Grosser authored
llvm-svn: 193468
-
Tobias Grosser authored
Polly can now be compiled without explicitly linking to GMP licensed code. This patch also contains some formatting improvements. llvm-svn: 193467
-
Tobias Grosser authored
llvm-svn: 193466
-
Alp Toker authored
If multiprocessing was requested, detected as available and subsequently failed to initialize it's worth letting the user know about it before falling back to threads. This condition can arise in certain OpenBSD / FreeBSD Python versions. llvm-svn: 193465
-
Alp Toker authored
Some versions of Python on the builders seem strict about this. llvm-svn: 193464
-
Alp Toker authored
This should be a better fix for lit multiprocessing failures, replacing the OpenBSD and FreeBSD workarounds in r193413 and r193457. Reference: http://bugs.python.org/issue3770 llvm-svn: 193463
-
David Majnemer authored
Sema: Emit a nicer diagnostic when IndirectFieldDecls show up inappropriately in non-type template arguments llvm-svn: 193462
-
David Majnemer authored
Sema: Correctly build pointer-to-member arguments from a template argument with an IndirectFieldDecl We only considered FieldDecl and CXXMethodDecl as appropriate which would cause us to believe the IndirectFieldDecl corresponded to an argument of it's field type instead of a pointer-to-member type. This fixes PR17696. llvm-svn: 193461
-
Wan Xiaofei authored
This patch implements quick look-up for block in loop by maintaining a hash set for blocks. It improves the efficiency of loop analysis a lot, the biggest improvement could be 5-6%(458.sjeng). Below are the compilation time for our benchmark in llc before & after the patch. Benchmark llc - trunk llc - patched 401.bzip2 0.339081 100.00% 0.329657 102.86% 403.gcc 19.853966 100.00% 19.605466 101.27% 429.mcf 0.049823 100.00% 0.048451 102.83% 433.milc 0.514898 100.00% 0.510217 100.92% 444.namd 1.109328 100.00% 1.103481 100.53% 445.gobmk 4.988028 100.00% 4.929114 101.20% 456.hmmer 0.843871 100.00% 0.825865 102.18% 458.sjeng 0.754238 100.00% 0.714095 105.62% 464.h264ref 2.9668 100.00% 2.90612 102.09% 471.omnetpp 4.556533 100.00% 4.511886 100.99% bitmnp01 0.038168 100.00% 0.0357 106.91% idctrn01 0.037745 100.00% 0.037332 101.11% libquake2 3.78689 100.00% 3.76209 100.66% libquake_ 2.251525 100.00% 2.234104 100.78% linpack 0.033159 100.00% 0.032788 101.13% matrix01 0.045319 100.00% 0.043497 104.19% nbench 0.333161 100.00% 0.329799 101.02% tblook01 0.017863 100.00% 0.017666 101.12% ttsprk01 0.054337 100.00% 0.053057 102.41% Reviewer : Andrew Trick <atrick@apple.com>, Hal Finkel <hfinkel@anl.gov> Approver : Andrew Trick <atrick@apple.com> Test : Pass make check-all & llvm test-suite llvm-svn: 193460
-
NAKAMURA Takumi authored
I saw the case that 'native' was mis-enabled when x86_64-pc-win32 on x86_64-linux. FIXME: Consider cases that target can be executed even if host_triple were different from target_triple. llvm-svn: 193459
-
NAKAMURA Takumi authored
"REQUIRES: shell" should cover if this failed. llvm-svn: 193458
-
Alp Toker authored
Speculative quick fix based on clang-X86_64-freebsd output: File "/usr/local/lib/python2.6/multiprocessing/synchronize.py", line 33, in <module> " function, see issue 3770.") ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770. llvm-svn: 193457
-
NAKAMURA Takumi authored
Clang confuses among dosish paths. In this case, "Input/foo.cpp" and "Input\foo.cpp" cannot be unified. llvm-svn: 193456
-
Jordan Rose authored
We could certainly be more precise in many of our diagnostics, but before we were printing "Assuming x is && y", which is just ridiculous. <rdar://problem/15167979> llvm-svn: 193455
-
Rui Ueyama authored
/merge:<from>=<to> option makes the linker to combine "from" section to "to" section. This patch is to parse the option. The actual feature will be implemented in a subsequent patch. llvm-svn: 193454
-
Fariborz Jahanian authored
is redeclared as 'weak' in class extension. // rdar://15304886 llvm-svn: 193453
-
Peter Collingbourne authored
llvm-svn: 193452
-
Michael J. Spencer authored
llvm-svn: 193451
-
rdar://problem/15319880Enrico Granata authored
Introduce a new boolean setting enable-auto-oneliner This setting if set to false will force LLDB to not use the new compact one-line display By default, one-line mode stays on, at least until we can be confident it works. But now if it seriously impedes your workflow while it evolves/it works wonders but you still hate it, there's a way to turn it off llvm-svn: 193450
-
Peter Collingbourne authored
Differential Revision: http://llvm-reviews.chandlerc.com/D1984 llvm-svn: 193449
-
Peter Collingbourne authored
This moves away from creating the symbolizer object and initializing the external symbolizer as separate steps. Those steps now always take place together. Sanitizers with a legacy requirement to specify their own symbolizer path should use InitSymbolizer to initialize the symbolizer with the desired path, and GetSymbolizer to access the symbolizer. Sanitizers with no such requirement (e.g. UBSan) can use GetOrInitSymbolizer with no need for initialization. The symbolizer interface has been made thread-safe (as far as I can tell) by protecting its member functions with mutexes. Finally, the symbolizer interface no longer relies on weak externals, the introduction of which was probably a mistake on my part. Differential Revision: http://llvm-reviews.chandlerc.com/D1985 llvm-svn: 193448
-