Argyrios Kyrtzidis [Fri, 9 Nov 2012 19:40:48 +0000 (19:40 +0000)]
Add a SourceLocation::printToString() that returns in a std::string what dump()
writes to stderr; for debugging purposes.
llvm-svn: 167629
Argyrios Kyrtzidis [Fri, 9 Nov 2012 19:40:45 +0000 (19:40 +0000)]
Add a FileCharacteristic parameter to SourceManager::createFileIDForMemBuffer
for completeness and use it in CompilerInstance::InitializeSourceManager if
the input is a memory buffer.
llvm-svn: 167628
Argyrios Kyrtzidis [Fri, 9 Nov 2012 19:40:39 +0000 (19:40 +0000)]
Turn FrontendInputFile into an immutable class and have it also accept
a memory buffer instead of only a filename.
llvm-svn: 167627
Argyrios Kyrtzidis [Fri, 9 Nov 2012 19:40:33 +0000 (19:40 +0000)]
Make CompilerInstance::InitializeSourceManager accept a FrontendInputFile,
no functionality change.
llvm-svn: 167626
Jakob Stoklund Olesen [Fri, 9 Nov 2012 19:18:49 +0000 (19:18 +0000)]
Fix assertions in updateRegMaskSlots().
The RegMaskSlots contains 'r' slots while NewIdx and OldIdx are 'B'
slots. This broke the checks in the assertions.
This fixes PR14302.
llvm-svn: 167625
Rafael Espindola [Fri, 9 Nov 2012 19:03:35 +0000 (19:03 +0000)]
Don't use so many bits.
llvm-svn: 167624
Chad Rosier [Fri, 9 Nov 2012 18:27:01 +0000 (18:27 +0000)]
Implement -mstrict-align using '-backend-option -arm-strict-align' as this saves
us from having to make any backend changes.
llvm-svn: 167623
Chad Rosier [Fri, 9 Nov 2012 18:25:27 +0000 (18:25 +0000)]
Revert r167620; this can be implemented using an existing CL option.
llvm-svn: 167622
Chad Rosier [Fri, 9 Nov 2012 17:39:51 +0000 (17:39 +0000)]
Add test case for r167619.
llvm-svn: 167621
Chad Rosier [Fri, 9 Nov 2012 17:29:38 +0000 (17:29 +0000)]
Add support for -mstrict-align compiler option for ARM targets.
rdar://
12340498
llvm-svn: 167620
Chad Rosier [Fri, 9 Nov 2012 17:29:19 +0000 (17:29 +0000)]
[driver] Add a -mstrict-align compiler option for ARM targets.
rdar://
12340498
llvm-svn: 167619
Benjamin Kramer [Fri, 9 Nov 2012 15:45:22 +0000 (15:45 +0000)]
Silence GCC warning about falling off the end of a non-void function.
llvm-svn: 167618
Alexey Samsonov [Fri, 9 Nov 2012 14:45:30 +0000 (14:45 +0000)]
[Sanitizer] add sanity checks for communication with external symbolizer
llvm-svn: 167617
Dmitry Vyukov [Fri, 9 Nov 2012 14:12:16 +0000 (14:12 +0000)]
tsan: switch to new memory_order constants (ABI compatible)
llvm-svn: 167615
Dmitry Vyukov [Fri, 9 Nov 2012 14:11:51 +0000 (14:11 +0000)]
tsan: switch to new memory_order constants (ABI compatible)
llvm-svn: 167614
Andy Gibbs [Fri, 9 Nov 2012 13:24:30 +0000 (13:24 +0000)]
Improved support for removing the comma preceding __VA_ARGS__ where __VA_ARGS__
is empty in a variadic macro expansion. This fixes a divergence in support for
the ", ## __VA_ARGS__" GCC extension which differed in behaviour when in strict
C99 mode (note: there is no change in behaviour has been made in the gnu99 mode
that clang uses by default). In addition, there is improved support for the
Microsoft alternative extension ", __VA_ARGS__".
llvm-svn: 167613
Dmitry Vyukov [Fri, 9 Nov 2012 12:55:36 +0000 (12:55 +0000)]
tsan: instrument all atomics (including fetch_add, exchange, cas, etc)
llvm-svn: 167612
Dmitry Vyukov [Fri, 9 Nov 2012 12:54:37 +0000 (12:54 +0000)]
tsan: add __tsan_atomicX_compare_exchange_val() function
It's easier to call from compiler module.
llvm-svn: 167611
Alexander Potapenko [Fri, 9 Nov 2012 11:55:33 +0000 (11:55 +0000)]
Add a possible underscore before the wrappers to the output expectations for Darwin
llvm-svn: 167610
Nico Weber [Fri, 9 Nov 2012 08:38:04 +0000 (08:38 +0000)]
Use isInvalidDecl() instead of isStatic() as suggested by dblaikie.
I couldn't think of a way to make an operator() invalid without returning
earlier from this function other than making it static, so no new test.
llvm-svn: 167609
Nadav Rotem [Fri, 9 Nov 2012 07:09:44 +0000 (07:09 +0000)]
Add support for memory runtime check. When we can, we calculate array bounds.
If the arrays are found to be disjoint then we run the vectorized version of
the loop. If they are not, we run the scalar code.
llvm-svn: 167608
Nadav Rotem [Fri, 9 Nov 2012 07:02:24 +0000 (07:02 +0000)]
indent
llvm-svn: 167607
Jason Molenda [Fri, 9 Nov 2012 06:16:12 +0000 (06:16 +0000)]
Mark Objective-C 2.0 status as "Not applicable" on Linux.
The objc 2 runtime doesn't run on Linux.
llvm-svn: 167606
Jason Molenda [Fri, 9 Nov 2012 06:14:39 +0000 (06:14 +0000)]
Update the status page to include Linux status information,
patch from Dan Malea, daniel.malea@intel.com.
llvm-svn: 167605
Nico Weber [Fri, 9 Nov 2012 06:06:14 +0000 (06:06 +0000)]
Don't crash on calling static member overloaded operator, PR14120
Patch from Brian Brooks!
llvm-svn: 167604
Bob Wilson [Fri, 9 Nov 2012 01:59:30 +0000 (01:59 +0000)]
Remove old driver code to grab the iOS simulator version from the -D option.
We can now rely on the -mios-simulator-version-min command line option
and remove the awful hack. <rdar://problem/
10304510>
llvm-svn: 167603
Nico Weber [Fri, 9 Nov 2012 00:05:56 +0000 (00:05 +0000)]
[ms] Implement int64_t version of mangleNumber() in terms of the APSInt version.
No intended functionality change.
llvm-svn: 167602
Jason Molenda [Thu, 8 Nov 2012 23:57:44 +0000 (23:57 +0000)]
Fix typeo in example help text for type filter add.
<rdar://problem/
12090979>
llvm-svn: 167601
Jason Molenda [Thu, 8 Nov 2012 23:50:33 +0000 (23:50 +0000)]
Patch from Dan Malea daniel.malea@gmail.com to add some required
flags to the Linux makefiles to get the tests to run.
llvm-svn: 167600
Nico Weber [Thu, 8 Nov 2012 23:38:59 +0000 (23:38 +0000)]
[Windows] Fix mangling of number literal '0'
Do this by making the mangleNumber(APSInt) overload look like
the int64_t version. (The latter should probably just delegate
to the former).
Test from Evgeny Eltsin!
llvm-svn: 167599
Bob Wilson [Thu, 8 Nov 2012 23:21:22 +0000 (23:21 +0000)]
Remove more code related to invoking llvm-gcc. <rdar://problem/
11991320>
llvm-svn: 167598
David Blaikie [Thu, 8 Nov 2012 22:53:48 +0000 (22:53 +0000)]
Fix a source range regression in C++ new expressions with call initializers.
Introduced in r167507, discovered in review by Abramo Bagnara.
llvm-svn: 167597
Matt Beaumont-Gay [Thu, 8 Nov 2012 20:50:02 +0000 (20:50 +0000)]
Fix a bug I found while preparing my devmtg talk: When passing NULL to a
function that takes a const Foo&, where Foo is convertible from a large number
of pointer types, we print ALL the overloads, no matter the setting of
-fshow-overloads.
There is potential follow-on work in unifying the "print candidates, but not
too many" logic between OverloadCandidateSet::NoteCandidates and
ImplicitConversionSequence::DiagnoseAmbiguousConversion.
llvm-svn: 167596
NAKAMURA Takumi [Thu, 8 Nov 2012 20:34:25 +0000 (20:34 +0000)]
llvm/ConstantFolding.cpp: Make ReadDataFromGlobal() and FoldReinterpretLoadFromConstPtr() Big-endian-aware.
llvm-svn: 167595
Benjamin Kramer [Thu, 8 Nov 2012 19:22:31 +0000 (19:22 +0000)]
LiteralSupport: Don't overflow the temporary buffer when decoding invalid string parts.
Instead just use a dummy buffer, we're not going to use the decoded string anyways.
Fixes PR14292.
llvm-svn: 167594
Benjamin Kramer [Thu, 8 Nov 2012 19:22:26 +0000 (19:22 +0000)]
LiteralSupport: Clean up style violations. No functionality change.
llvm-svn: 167593
Enrico Granata [Thu, 8 Nov 2012 19:16:03 +0000 (19:16 +0000)]
Minor cleanups to the new ModuleList notification APIs: passing in the ModuleList as part of the callbacks, and not copying the notifier as part of copy constructing and assigning
llvm-svn: 167592
Abramo Bagnara [Thu, 8 Nov 2012 18:41:43 +0000 (18:41 +0000)]
Allow to pass from syntactic form of InitListExpr to semantic form (just as viceversa). No functionality change.
llvm-svn: 167591
Abramo Bagnara [Thu, 8 Nov 2012 16:27:30 +0000 (16:27 +0000)]
Avoid to write function name in comment. Thanks to Dmitri Gribenko.
llvm-svn: 167588
Abramo Bagnara [Thu, 8 Nov 2012 16:01:51 +0000 (16:01 +0000)]
Readded line removed by mistake.
llvm-svn: 167587
Alexey Samsonov [Thu, 8 Nov 2012 14:49:28 +0000 (14:49 +0000)]
[Sanitizer] Build all sanitizer runtime libraries with debug info (with -gline-tables-only, if it's available)
llvm-svn: 167584
Abramo Bagnara [Thu, 8 Nov 2012 14:44:42 +0000 (14:44 +0000)]
Fixed converted ConstantArrayTypeLoc range. Added a missing testcase for ConstructorDecl source range.
llvm-svn: 167583
Benjamin Kramer [Thu, 8 Nov 2012 13:58:10 +0000 (13:58 +0000)]
Drop the limitation to IEEE floating point types from the fdiv of pow2 -> fmul transform.
This is safe for x87 long doubles and ppc double doubles too.
llvm-svn: 167582
Abramo Bagnara [Thu, 8 Nov 2012 13:52:58 +0000 (13:52 +0000)]
Fixed range of implicit MemberExpr.
llvm-svn: 167581
Dmitry Vyukov [Thu, 8 Nov 2012 13:38:45 +0000 (13:38 +0000)]
tsan: add range access functions for Go
llvm-svn: 167580
Alexey Samsonov [Thu, 8 Nov 2012 13:31:19 +0000 (13:31 +0000)]
[ASan] avoid including <new> header in ASan runtime
llvm-svn: 167579
Dmitry Vyukov [Thu, 8 Nov 2012 13:23:13 +0000 (13:23 +0000)]
tsan: change TSAN_OPTIONS->GORACE in build script as well
llvm-svn: 167578
Alexey Samsonov [Thu, 8 Nov 2012 13:08:41 +0000 (13:08 +0000)]
[Sanitizer] try to fix Windows bot - include stdlib.h for abort/_exit functions
llvm-svn: 167577
Benjamin Kramer [Thu, 8 Nov 2012 12:59:15 +0000 (12:59 +0000)]
Set TLSSupported to false on Haiku.
Haiku does not support this (yet). Leaving it set to true leads to
configure scripts detecting __thread being available and Clang emitting
code for it, resulting in binaries the runtime_loader will refuse to
load.
Patch by Jonathan Schleifer!
llvm-svn: 167576
Dmitry Vyukov [Thu, 8 Nov 2012 11:32:40 +0000 (11:32 +0000)]
tsan: use GORACE env for options for Go
llvm-svn: 167575
Amara Emerson [Thu, 8 Nov 2012 09:51:45 +0000 (09:51 +0000)]
Recommit modified r167540.
Improve ARM build attribute emission for architectures types.
This also changes the default architecture emitted for a generic CPU to "v7".
llvm-svn: 167574
Michael Liao [Thu, 8 Nov 2012 07:28:54 +0000 (07:28 +0000)]
Add support of RTM from TSX extension
- Add RTM code generation support throught 3 X86 intrinsics:
xbegin()/xend() to start/end a transaction region, and xabort() to abort a
tranaction region
llvm-svn: 167573
Daniel Dunbar [Thu, 8 Nov 2012 03:38:26 +0000 (03:38 +0000)]
Driver/Darwin: The -arch argument values aren't exactly the arch names from a
triple.
- Translate the special case of powerpc to its expected -arch name.
llvm-svn: 167571
Enrico Granata [Thu, 8 Nov 2012 02:44:10 +0000 (02:44 +0000)]
Adding support for loading the scripting resource as part of a framework, lacking the dSYM bundle, or if the bundle has no Pythonic resources whatsoever
Solving an issue where "command script import" would fail to pick the file indicated by the user as a result of something with the same name being in an earlier position in sys.path
llvm-svn: 167570
Enrico Granata [Thu, 8 Nov 2012 02:22:02 +0000 (02:22 +0000)]
<rdar://problem/
12586350>
This commit does three things:
(a) introduces a new notification model for adding/removing/changing modules to a ModuleList, and applies it to the Target's ModuleList, so that we make sure to always trigger the right set of actions
whenever modules come and go in a target. Certain spots in the code still need to "manually" notify the Target for several reasons, so this is a work in progress
(b) adds a new capability to the Platforms: locating a scripting resources associated to a module. A scripting resource is a Python file that can load commands, formatters, ... and any other action
of interest corresponding to the loading of a module. At the moment, this is only implemented on Mac OS X and only for files inside .dSYM bundles - the next step is going to be letting
the frameworks themselves hold their scripting resources. Implementors of platforms for other systems are free to implement "the right thing" for their own worlds
(c) hooking up items (a) and (b) so that targets auto-load the scripting resources as the corresponding modules get loaded in a target. This has a few caveats at the moment:
- the user needs to manually add the .py file to the dSYM (soon, it will also work in the framework itself)
- if two modules with the same name show up during the lifetime of an LLDB session, the second one won't be able to load its scripting resource, but will otherwise work just fine
llvm-svn: 167569
Meador Inge [Thu, 8 Nov 2012 01:33:50 +0000 (01:33 +0000)]
instcombine: Migrate strspn optimizations
This patch migrates the strspn optimizations from the simplify-libcalls
pass into the instcombine library call simplifier.
llvm-svn: 167568
Bob Wilson [Thu, 8 Nov 2012 01:03:34 +0000 (01:03 +0000)]
Rip out a bunch of code for invoking gcc from clang.
llvm-svn: 167567
Bob Wilson [Thu, 8 Nov 2012 01:03:29 +0000 (01:03 +0000)]
Remove code to fall back to llvm-gcc for i386 kexts.
More cleanups to follow in separate commits....
llvm-svn: 167566
David Blaikie [Thu, 8 Nov 2012 00:41:20 +0000 (00:41 +0000)]
PR14284: crash on ext-valid returning NULL from a void function
llvm-svn: 167565
Jason Molenda [Thu, 8 Nov 2012 00:19:28 +0000 (00:19 +0000)]
Fix a crasher in
DynamicLoaderDarwinKernel::OSKextLoadedKextSummary::LoadImageUsingMemoryModule
where it assumed that a kernel had been found in memory, when that may not be
the case when we're attaching to a device early in the boot process.
<rdar://problem/
12638140>
llvm-svn: 167564
Greg Clayton [Thu, 8 Nov 2012 00:06:59 +0000 (00:06 +0000)]
Added a posix_spawn based launchd plist for always using posix_spawn to launch programs.
llvm-svn: 167563
Richard Smith [Wed, 7 Nov 2012 23:56:21 +0000 (23:56 +0000)]
When deciding whether to convert an array construction loop into a memcpy, look
at whether the *selected* constructor would be trivial rather than considering
whether the array's element type has *any* non-trivial constructors of the
relevant kind.
llvm-svn: 167562
Dmitri Gribenko [Wed, 7 Nov 2012 23:52:25 +0000 (23:52 +0000)]
Force C89 for c-index-test.c
MSVC supports only C89, so it is important to keep c-index-test.c
buildable with C89. However, Clang defaults to C99, so while building
Clang with Clang one can introduce C99 constructs into c-index-test.c
without noticing.
Thanks to Nakamura Takumi for helping with MSVC bits.
llvm-svn: 167561
Eric Christopher [Wed, 7 Nov 2012 23:38:51 +0000 (23:38 +0000)]
Fix up comment typo and 80-col.
llvm-svn: 167560
Michael J. Spencer [Wed, 7 Nov 2012 23:37:14 +0000 (23:37 +0000)]
[Driver] Fix -Wp,-MMD pr13959
llvm-svn: 167559
Eric Christopher [Wed, 7 Nov 2012 23:22:07 +0000 (23:22 +0000)]
Add a relocation visitor to lib object. This works via caching relocated
values in a map that can be passed to consumers. Add a testcase that
ensures this works for llvm-dwarfdump.
llvm-svn: 167558
Greg Clayton [Wed, 7 Nov 2012 23:09:32 +0000 (23:09 +0000)]
<rdar://problem/
12645617>
<rdar://problem/
12153915> (partial fix)
Remove an assert and place an error message instead so we don't crash when we run into a type tag that we don't recognize. We will now emit a warning so that hopefully we can get a bug report that has example code that shows what we are missing.
Also fixed a case when trying to unique one type to another where we would confuse concrete instances of methods with their definitions and end up not correctly registering the types.
llvm-svn: 167557
Hans Wennborg [Wed, 7 Nov 2012 21:35:12 +0000 (21:35 +0000)]
Only do switch-to-lookup table transformation when TargetTransformInfo
is available.
llvm-svn: 167552
Nico Weber [Wed, 7 Nov 2012 21:31:36 +0000 (21:31 +0000)]
Reduce nesting. No functionality change.
llvm-svn: 167551
Richard Trieu [Wed, 7 Nov 2012 21:17:13 +0000 (21:17 +0000)]
When template deduction fails on a derived class, try a template deduction on
the base class. If the base class deduction succeeds, use those results. If
it fails, keep using the results from the derived class template deduction.
This prevents an assertion later where the type of deduction failure doesn't
match up with the template deduction info.
llvm-svn: 167550
Fariborz Jahanian [Wed, 7 Nov 2012 20:00:32 +0000 (20:00 +0000)]
objective-C blocks: bring back the CharUnit patch for
captured block variable layout meta-data. No intended change
in functionality.
llvm-svn: 167549
Akira Hatanaka [Wed, 7 Nov 2012 19:10:58 +0000 (19:10 +0000)]
[mips] Custom-lower ISD::FRAME_TO_ARGS_OFFSET node.
Patch by Sasa Stankovic.
llvm-svn: 167548
David Blaikie [Wed, 7 Nov 2012 19:08:05 +0000 (19:08 +0000)]
PR12713 - crash on invalid due to unmatched parens in decltype
llvm-svn: 167547
Akira Hatanaka [Wed, 7 Nov 2012 19:04:26 +0000 (19:04 +0000)]
Delete MipsFunctionInfo::NextStackOffset. No functionality change intended.
llvm-svn: 167546
Amara Emerson [Wed, 7 Nov 2012 18:57:14 +0000 (18:57 +0000)]
Revert r167540 until regression tests are updated.
llvm-svn: 167545
Bill Wendling [Wed, 7 Nov 2012 18:39:32 +0000 (18:39 +0000)]
Remove accidental commit.
llvm-svn: 167544
Hans Wennborg [Wed, 7 Nov 2012 18:38:24 +0000 (18:38 +0000)]
Fix bad test IR in switch_to_lookup_table.ll
llvm-svn: 167543
Fariborz Jahanian [Wed, 7 Nov 2012 18:15:53 +0000 (18:15 +0000)]
objective-C modern translator. Start the line
directive on a new line.
llvm-svn: 167542
Amara Emerson [Wed, 7 Nov 2012 18:01:03 +0000 (18:01 +0000)]
Improve ARM build attribute emission for architectures types.
This also changes the default architecture emitted for a generic CPU to "v7".
llvm-svn: 167540
Douglas Gregor [Wed, 7 Nov 2012 17:46:15 +0000 (17:46 +0000)]
When loading a module fails because it is out of date, rebuild that
module in place. <rdar://problem/
10138913>
llvm-svn: 167539
David Blaikie [Wed, 7 Nov 2012 17:17:07 +0000 (17:17 +0000)]
Test for source location range of new expressions fixed in r167507.
Patch by Philip Craig.
llvm-svn: 167538
Jordan Rose [Wed, 7 Nov 2012 17:12:37 +0000 (17:12 +0000)]
[analyzer] Check that the argument to CFMakeCollectable is non-NULL.
Patch by Sean McBride!
llvm-svn: 167537
Pawel Wodnicki [Wed, 7 Nov 2012 17:00:18 +0000 (17:00 +0000)]
fix typo PR1476
llvm-svn: 167536
Pawel Wodnicki [Wed, 7 Nov 2012 16:56:52 +0000 (16:56 +0000)]
fix for PR1476
llvm-svn: 167535
David Chisnall [Wed, 7 Nov 2012 16:50:40 +0000 (16:50 +0000)]
Fix the Objective-C exception rethrow from cleanups (GNU runtimes). Note that
a bug in the inliner still causes the wrong thing to happen at -O2 and above
(PR14116).
llvm-svn: 167534
Dmitry Vyukov [Wed, 7 Nov 2012 16:41:57 +0000 (16:41 +0000)]
tsan: do not sleep at exit if there are no other threads
llvm-svn: 167533
Dmitry Vyukov [Wed, 7 Nov 2012 16:14:12 +0000 (16:14 +0000)]
tsan: add flag to suppress all reports (useful for benchmarking)
llvm-svn: 167532
Dmitry Vyukov [Wed, 7 Nov 2012 15:08:20 +0000 (15:08 +0000)]
tsan: more precise handling of finalizers
llvm-svn: 167530
Kostya Serebryany [Wed, 7 Nov 2012 12:42:18 +0000 (12:42 +0000)]
[asan] fix bug 14277 (asan needs to fail with fata error if an __asan interface function is being redefined. Before this fix asan asserts)
llvm-svn: 167529
Andrew Trick [Wed, 7 Nov 2012 07:05:09 +0000 (07:05 +0000)]
misched: Heuristics based on the machine model.
misched is disabled by default. With -enable-misched, these heuristics
balance the schedule to simultaneously avoid saturating processor
resources, expose ILP, and minimize register pressure. I've been
analyzing the performance of these heuristics on everything in the
llvm test suite in addition to a few other benchmarks. I would like
each heuristic check to be verified by a unit test, but I'm still
trying to figure out the best way to do that. The heuristics are still
in considerable flux, but as they are refined we should be rigorous
about unit testing the improvements.
llvm-svn: 167527
Andrew Trick [Wed, 7 Nov 2012 07:05:05 +0000 (07:05 +0000)]
misched: handle on-the-fly regpressure queries better for 2-addr
instructions without relying on liveintervals.
llvm-svn: 167526
Bill Wendling [Wed, 7 Nov 2012 05:19:04 +0000 (05:19 +0000)]
Add comment describing what's going on here.
llvm-svn: 167525
Bill Wendling [Wed, 7 Nov 2012 04:42:18 +0000 (04:42 +0000)]
When we're updating the subprogram scope DIE, we want to determine if we're
updating an abstract DIE or not. If we are, then we use that. Its children will
be added on later, as well as the object pointer attribute. Otherwise, this
function may be called with a concrete DIE twice and adding the children and
object pointer attribute to it twice.
<rdar://problem/
12401423&
12600340>
llvm-svn: 167524
Jordan Rose [Wed, 7 Nov 2012 02:35:33 +0000 (02:35 +0000)]
[analyzer] Add some examples for the common REGISTER_*_WITH_PROGRAMSTATEs.
No functionality change (doc comments only).
llvm-svn: 167523
Jordan Rose [Wed, 7 Nov 2012 02:35:02 +0000 (02:35 +0000)]
[analyzer] Enhance docs for checker callbacks (esp. processRegionChanges).
No functionality change; this checker is only used for documentation.
llvm-svn: 167522
Eli Bendersky [Wed, 7 Nov 2012 01:52:41 +0000 (01:52 +0000)]
Fix a broken sentence
llvm-svn: 167521
Jim Ingham [Wed, 7 Nov 2012 01:52:04 +0000 (01:52 +0000)]
When we were calculating the max byte size of ONE instruction to handle something like
x/9i
we actually calculated the size of 9 instructions. Then we multiplied it by the count again
to get the total amount we should fetch, so we thought 9 x86_64 instructions took over 1K
to fetch...
<rdar://problem/
12649027>
llvm-svn: 167520
Ted Kremenek [Wed, 7 Nov 2012 01:43:44 +0000 (01:43 +0000)]
Add -Wmismatched-return-types flag for existing warning on conflicting return types.
llvm-svn: 167518
Eli Bendersky [Wed, 7 Nov 2012 01:41:30 +0000 (01:41 +0000)]
Document the -input-file option of FileCheck
llvm-svn: 167517
Sean Callanan [Wed, 7 Nov 2012 01:27:50 +0000 (01:27 +0000)]
Logging improvements for the Objective-C runtime.
Also fixed a bug where the Objective-C runtime
would not properly report that it found a class if
(a) it had to build the ObjCInterfaceDecl for the
class and (b) logging was enabled.
<rdar://problem/
12641180>
llvm-svn: 167516