- Mar 14, 2014
-
-
Simon Atanasyan authored
llvm-svn: 203898
-
Simon Atanasyan authored
llvm-svn: 203897
-
Simon Atanasyan authored
llvm-svn: 203896
-
Craig Topper authored
llvm-svn: 203895
-
Craig Topper authored
Remove seemingly dead method. It was marked virtual but doesn't override anything and there don't seem to be any in tree callers. llvm-svn: 203894
-
Craig Topper authored
llvm-svn: 203893
-
Rui Ueyama authored
LLD fails to link symbol "_main" if the symbol is in a library file and the library file is given as a bare argument (i.e. not with /defaultlib option). It's because library files given as bare arguments are processed before other libraries given with /defaultlib, so when Linker finds msvcrtd needs a definition for "_main", the file providing the main function has already been processed and skipped. Linker don't revisit libraries if it's not given with /defaultlib. To fix it this patch change the way of command line handling; files end with ".lib" are treated as if they are given with /defaultlib. I don't believe it's 100% correct behavior but it's better than before. llvm-svn: 203892
-
Rui Ueyama authored
llvm-svn: 203891
-
Owen Anderson authored
issue in that the new MachineRegisterInfo bundle iterators didn't dereference to the START of the bundle, while the old skipBundle() method did. llvm-svn: 203890
-
Rui Ueyama authored
Looks like a major cause of instability on Windows is this thread-safety bug. llvm-svn: 203889
-
Sebastian Pop authored
llvm-svn: 203888
-
Sebastian Pop authored
llvm-svn: 203887
-
Sebastian Pop authored
llvm-svn: 203886
-
Argyrios Kyrtzidis authored
This is because the PCH is tied to the module files, if one of the module files changes or gets removed the build system should re-build the PCH file. rdar://16321245 llvm-svn: 203885
-
Rui Ueyama authored
This option is not documented and seems weird, but yeah we need it anyway. llvm-svn: 203884
-
Pete Cooper authored
Fix issue with r203865. The old behaviour would get a MachineOperand then find the MI for the bundle the MI was in. The new behaviour was failing to get the parent bundle and instead just used the MI from the MachineOperand llvm-svn: 203883
-
Argyrios Kyrtzidis authored
[Modules] Make sure that the synthesized file "__inferred_module.map" doesn't show up as dependency of a module file. Follow-up for rdar://15459210 llvm-svn: 203882
-
Argyrios Kyrtzidis authored
No functionality change. llvm-svn: 203881
-
Galina Kistanova authored
llvm-svn: 203880
-
Galina Kistanova authored
Fixed misuse of isascii. Also fixes mingw32 build, see http://msdn.microsoft.com/en-us/library/ms235417.aspx llvm-svn: 203879
-
Rui Ueyama authored
This is to make sure that the Windows-style command line tokenizer is working as expected. llvm-svn: 203877
-
Rui Ueyama authored
llvm-svn: 203876
-
Rui Ueyama authored
If the driver finds a command line option in the form of "@filename", the option will be replaced with the content of the given file. It's an error if a response file cannot be read. llvm-svn: 203875
-
Greg Clayton authored
One more time. Multi-line expressions when there is no valid expression that follow “expr [options] —“. llvm-svn: 203874
-
Greg Clayton authored
llvm-svn: 203873
-
Greg Clayton authored
Allow a multi-line expression to follow expression commands with options when there is no expression following the option terminating “—“. llvm-svn: 203872
-
Tobias Grosser authored
Contributed-by:
Sam Novak <snovak@uwsp.edu> llvm-svn: 203871
-
Tobias Grosser authored
Contributed-by:
Sam Novak <snovak@uwsp.edu> llvm-svn: 203869
-
Tobias Grosser authored
Contributed-by:
Sam Novak <snovak@uwsp.edu> llvm-svn: 203868
-
Eric Christopher authored
llvm-svn: 203867
-
Rafael Espindola authored
These linkages were introduced some time ago, but it was never very clear what exactly their semantics were or what they should be used for. Some investigation found these uses: * utf-16 strings in clang. * non-unnamed_addr strings produced by the sanitizers. It turns out they were just working around a more fundamental problem. For some sections a MachO linker needs a symbol in order to split the section into atoms, and llvm had no idea that was the case. I fixed that in r201700 and it is now safe to use the private linkage. When the object ends up in a section that requires symbols, llvm will use a 'l' prefix instead of a 'L' prefix and things just work. With that, these linkages were already dead, but there was a potential future user in the objc metadata information. I am still looking at CGObjcMac.cpp, but at this point I am convinced that linker_private and linker_private_weak are not what they need. The objc uses are currently split in * Regular symbols (no '\01' prefix). LLVM already directly provides whatever semantics they need. * Uses of a private name (start with "\01L" or "\01l") and private linkage. We can drop the "\01L" and "\01l" prefixes as soon as llvm agrees with clang on L being ok or not for a given section. I have two patches in code review for this. * Uses of private name and weak linkage. The last case is the one that one could think would fit one of these linkages. That is not the case. The semantics are * the linker will merge these symbol by *name*. * the linker will hide them in the final DSO. Given that the merging is done by name, any of the private (or internal) linkages would be a bad match. They allow llvm to rename the symbols, and that is really not what we want. From the llvm point of view, these objects should really be (linkonce|weak)(_odr)?. For now, just keeping the "\01l" prefix is probably the best for these symbols. If we one day want to have a more direct support in llvm, IMHO what we should add is not a linkage, it is just a hidden_symbol attribute. It would be applicable to multiple linkages. For example, on weak it would produce the current behavior we have for objc metadata. On internal, it would be equivalent to private (and we should then remove private). llvm-svn: 203866
-
Owen Anderson authored
operator* on the by-operand iterators to return a MachineOperand& rather than a MachineInstr&. At this point they almost behave like normal iterators! Again, this requires making some existing loops more verbose, but should pave the way for the big range-based for-loop cleanups in the future. llvm-svn: 203865
-
Jason Molenda authored
Add queues tests for when libBacktraceRecording is absent. llvm-svn: 203864
-
- Mar 13, 2014
-
-
Aaron Ballman authored
[C++11] Replacing ObjCProtocolDecl iterators protocol_begin() and protocol_end() with iterator_range protocols(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203863
-
Owen Anderson authored
bitcast between pointers of two different address spaces if they happened to have the same pointer size. llvm-svn: 203862
-
Tobias Grosser authored
llvm-svn: 203861
-
Sebastian Pop authored
llvm-svn: 203859
-
David Blaikie authored
This type now represents all the data for the DWARF line table: directory names, file names, and the line table proper. llvm-svn: 203858
-
Aaron Ballman authored
[C++11] Replacing ObjCInterfaceDecl iterators known_extensions_begin() and known_extensions_end() with iterator_range known_extensions(). Updating all of the usages of the iterators with range-based for loops. llvm-svn: 203857
-
David Blaikie authored
llvm-svn: 203856
-