- Nov 02, 2011
-
-
Craig Topper authored
llvm-svn: 143536
-
Michael J. Spencer authored
llvm-svn: 143535
-
Chandler Carruth authored
silence -Wparentheses. llvm-svn: 143534
-
Bob Wilson authored
The -g and --gdwarf2 options are currently synonyms to the Darwin assembler. But clang itself does not recognize --gdwarf2, so if we want to experiment with using clang, with its integrated assembler, to replace the default assembler, it is necessary to use -g. <rdar://problem/10349486> llvm-svn: 143533
-
Chandler Carruth authored
depends on the Support library rather than relying on TableGen's transitive dependency. llvm-svn: 143532
-
Chandler Carruth authored
one aspect of them by having them use the (annoying, if not broken) proper library dependency model for adding the LLVMTableGen library as a dependency. This could manifest as a link order issue in the presence of separate LLVM / Clang source builds with CMake and a linker that really cares about such things. Also, add the Support dependency to llvm-tblgen itself so that it doesn't rely on TableGen's transitive Support dependency. A parallel change for clang-tblgen will be forthcoming. llvm-svn: 143531
-
Bob Wilson authored
llvm-svn: 143530
-
Craig Topper authored
llvm-svn: 143529
-
rdar://problem/10020849Greg Clayton authored
Fixed an issue where the DWARF might mention that a class has a constructor (default, copy or move), destructor, or an assignment operator (copy or move) and it might not have an actual implementation in your code. Then you try and use this struct or class in an expression and the JIT would ask for the address of these methods that were in the declaration, yet there are none. We now "do the right thing" for trivial ctors, dtors and assignment operators by telling the methods that they are are defaulted and trivial, and clang will then just do all of the work with builtins! llvm-svn: 143528
-
Eli Friedman authored
<rdar://problem/10374763> llvm-svn: 143527
-
Sean Callanan authored
generated special member functions (constructors, destructors, etc.) for classes that don't really have them. We needed to mark these as artificial to reflect the debug information; this bug does that for constructors and destructors. The "etc." case (certain assignment operators, mostly) remains to be fixed. llvm-svn: 143526
-
Chad Rosier authored
llvm-svn: 143525
-
Tanya Lattner authored
Add support to the linker to lazily link in functions. This change only links functions marked with specific linkage (internal, private, linker_private, linker_private_weak, linker_private_weak_def_auto, linkonce, linkonce_odr, and available_externally) if they have uses in the destination module. Instead of automatically linking, these functions are placed onto a worklist to be processed in the final stage of linking. We iterate over the list and if any functions on the list have uses in the destination module, we link them in and repeat the process until no changes in the state (uses) has changed. This means that any functions in the LazilyLink worklist that have a use in the destination module will be linked in and none that don't. llvm-svn: 143524
-
Chad Rosier authored
llvm-svn: 143523
-
Andrew Trick authored
Narrowest possible fix for PR11279. llvm-svn: 143522
-
Kevin Enderby authored
it is separating the directory part from the basename of the FileName. Noticed that this: .file 1 "dir/foo" when assembled got the two parts switched. Using the Mac OS X dwarfdump tool it can be seen easily: % dwarfdump -a a.out include_directories[ 1] = 'foo' Dir Mod Time File Len File Name ---- ---------- ---------- --------------------------- file_names[ 1] 1 0x00000000 0x00000000 dir ... Which should be: ... include_directories[ 1] = 'dir' Dir Mod Time File Len File Name ---- ---------- ---------- --------------------------- file_names[ 1] 1 0x00000000 0x00000000 foo llvm-svn: 143521
-
Sean Callanan authored
correctly, and added a testcase to check that it works. The main problem here is that Objective-C class method selectors are external references stored in a special data structure in the LLVM IR module for an expression. I just had to extract them and ensure that the real class object locations were properly resolved. llvm-svn: 143520
-
Howard Hinnant authored
llvm-svn: 143519
-
Fariborz Jahanian authored
// rdar://10357768 llvm-svn: 143518
-
- Nov 01, 2011
-
-
Anna Zaks authored
This prevents caching out on nodes with different sink flag. (This is a cleaner fix for radar://10376675). llvm-svn: 143517
-
Anna Zaks authored
This is another fallout from the refactoring. We were calling MarkAsSink on a cached out node. (Fixes radar://10376675) llvm-svn: 143516
-
Anna Zaks authored
The parent and child builders should not share node sets. llvm-svn: 143515
-
Anna Zaks authored
This fixes radar://10367606 llvm-svn: 143514
-
Anna Zaks authored
Remove unnecessary calls to CheckerContext::getPredecessor() + Comments. llvm-svn: 143513
-
Anna Zaks authored
llvm-svn: 143512
-
Jim Grosbach authored
For example, labels from Objective-C sources. llvm-svn: 143511
-
Jim Grosbach authored
llvm-svn: 143510
-
Kevin Enderby authored
-g flag. In this part we generate the .file for the source being assembled and the .loc's for the assembled instructions. The next part will be to generate the dwarf Compile Unit DIE and a dwarf subprogram DIE for each non-temporary label. Once the next part is done test cases will be added. rdar://9275556 llvm-svn: 143509
-
Eli Friedman authored
llvm-svn: 143508
-
Owen Anderson authored
llvm-svn: 143507
-
Douglas Gregor authored
wrong class, make sure to drop it immediately; we don't want that constructor to be available within the DeclContext. Fixes <rdar://problem/9677163>. llvm-svn: 143506
-
Richard Smith authored
llvm-svn: 143505
-
Douglas Gregor authored
does not match any declaration in the class (or class template), be sure to mark it as invalid. Fixes PR10924 / <rdar://problem/10119422>. llvm-svn: 143504
-
Sebastian Pop authored
llvm-svn: 143503
-
Sebastian Pop authored
llvm-svn: 143502
-
Sebastian Pop authored
llvm-svn: 143501
-
Sebastian Pop authored
llvm-svn: 143500
-
Eli Friedman authored
Teach the x86 backend a couple tricks for dealing with v16i8 sra by a constant splat value. Fixes PR11289. llvm-svn: 143498
-
Howard Hinnant authored
llvm-svn: 143497
-
Richard Smith authored
if it's marked as weak: that definition may not end up being used. llvm-svn: 143496
-