- Nov 27, 2013
-
-
Rui Ueyama authored
llvm-svn: 195854
-
Rui Ueyama authored
llvm-svn: 195853
-
Rui Ueyama authored
Atom ordinals are the indeces in a file. Currently the PECOFF reader assigns ordinals for each section, so it's (incorrectly) assigning duplicate ordinals. llvm-svn: 195852
-
Aaron Ballman authored
Enabling the subject list for the warn_unused attribute, and adding a test case. Previously, would issue a "warning ignored" diagnostic instead of the more specific "only applies to." llvm-svn: 195851
-
Aaron Ballman authored
llvm-svn: 195850
-
Rafael Espindola authored
We currently error in clang with: "error: thread-local storage is unsupported for the current target", but we can start to get the llvm level ready. When compiling template<typename T> struct foo { static __declspec(thread) int bar; }; template<typename T> __declspec(therad) int foo<T>::bar; template struct foo<int>; msvc produces SECTION HEADER #3 .tls$ name 0 physical address 0 virtual address 4 size of raw data 12F file pointer to raw data (0000012F to 00000132) 0 file pointer to relocation table 0 file pointer to line numbers 0 number of relocations 0 number of line numbers C0301040 flags Initialized Data COMDAT; sym= "public: static int foo<int>::bar" (?bar@?$foo@H@@2HA) 4 byte align Read Write gcc produces a ".data$__emutls_v.<symbol>" for the testcase with __declspec(thread) replaced with thread_local. llvm-svn: 195849
-
Aaron Ballman authored
Refactored semantic handlers that would unilaterally apply the attribute to a Decl so they all go through a common interface. No functional change intended. llvm-svn: 195848
-
Rafael Espindola authored
MO_ConstantPoolIndex is handled in printLeaMemReference. MO_JumpTableIndex and MO_ExternalSymbol don't show up in inline asm. llvm-svn: 195847
-
Alexander Kornienko authored
llvm-svn: 195846
-
Timur Iskhodzhanov authored
llvm-svn: 195845
-
Jiangning Liu authored
llvm-svn: 195844
-
Jiangning Liu authored
llvm-svn: 195843
-
Aaron Ballman authored
Removing the description part of a subset subject. It is unused, and wouldn't be future-proof regarding translation issues. It is also covered by SubjectList's CustomDiag member. llvm-svn: 195842
-
Aaron Ballman authored
Laying the basic groundwork for table generating the diagnostics for attribute subjects. This makes some modifications to the way subjects are listed in Attr.td, and updates the attr emitter to handle the new constructs. I have disabled some attribute subject lines on purpose in Attr.td; this part is a WIP with the goal being to restore those subjects incrementally. By commenting them out, it leaves the original behavior the same as before for those attributes and so those are not functionality changes. llvm-svn: 195841
-
Alexey Samsonov authored
llvm-svn: 195840
-
Evgeniy Stepanov authored
llvm-svn: 195839
-
Lorenzo Martignoni authored
llvm-svn: 195838
-
Alexey Samsonov authored
More steps are needed to actually make it usable: * sanitizer runtimes should be compiled with -DSANITIZER_LIBBACKTRACE. * libbacktrace headers should be installed. * user has to manually link in libbacktrace.a into the executable. We can easily solve the first two problems in the build system, but detecting/linking libbacktrace to all the tests we have and end-user programs is more challenging (and will unlikely work w/o Driver support). Based on the patch by Jakub Jelinek! llvm-svn: 195837
-
Dmitry Vyukov authored
print thread creation stack and stacks where ignores were enabled. llvm-svn: 195836
-
Dmitry Vyukov authored
android does not seem to have IOCB_CMD_PREADV llvm-svn: 195835
-
Peter Zotov authored
This commit embeds a set of linker flags with hardcoded paths to the LLVM shared library on --enable-shared builds into .cmxa files and stub dynamic libraries. This solution closely follows existing rules for rpath in the LLVM tools, which had to be modified because of differences in toolchain. Without this patch, OCaml tests as well as opam bindings broke, as neither of those updates LD_LIBRARY_PATH to include the $prefix/lib directory. llvm-svn: 195834
-
Dmitry Vyukov authored
llvm-svn: 195833
-
Dmitry Vyukov authored
use common helper macro llvm-svn: 195832
-
Dmitry Vyukov authored
- running_on_valgrind was not parsed in some contexts - refactor code a bit - add comprehensive tests for flags parsing llvm-svn: 195831
-
Dmitry Vyukov authored
http://llvm-reviews.chandlerc.com/D2269 llvm-svn: 195830
-
Argyrios Kyrtzidis authored
Suggested by Alp Toker. llvm-svn: 195829
-
Argyrios Kyrtzidis authored
dependent context that the one we are instantiating, otherwise there will be an assertion. rdar://15464547 llvm-svn: 195828
-
David Majnemer authored
We would fail to instantiate them when the surrounding function was instantiated. Instantiate the class and add it's members to the list of pending instantiations, they should be resolved when we are finished with the function's body. This fixes PR9685. llvm-svn: 195827
-
Rafael Espindola authored
llvm-svn: 195826
-
Rafael Espindola authored
llvm-svn: 195825
-
Rafael Espindola authored
It is only used for asm printing. On X86 we put basic block addresses on register before passing them to inline asm, so the MO_MachineBasicBlock case was dead. MO_ExternalSymbol was dead since any symbol being passed to inline asm is represented as MO_GlobalAddress. The MO_GlobalAddress and MO_Register cases were not tested. llvm-svn: 195824
-
Argyrios Kyrtzidis authored
Also disable crash recovery using 'LIBCLANG_DISABLE_CRASH_RECOVERY' environment variable. llvm-svn: 195819
-
Alp Toker authored
There are about 30 removed in this patch, generated by a new FixIt I haven't got round to submitting yet. llvm-svn: 195814
-
Alp Toker authored
The warning from cmake-clang-x64-msc16-R was: test\SemaCXX\old-style-cast.cpp Line 6: cast to 'void **' from smaller integer type 'long' llvm-svn: 195813
-
Sean Silva authored
Impetus for the clarification by Mikael Lyngvig. llvm-svn: 195812
-
Richard Smith authored
code for handling triviality, deletedness and constexpr. Fix a few bugs in these, particularly related to mutable members, and remove some dead code. llvm-svn: 195809
-
Alp Toker authored
Based on a patch by Ondřej Hošek! llvm-svn: 195808
-
Hal Finkel authored
llvm-svn: 195807
-
Rafael Espindola authored
llvm-svn: 195806
-
Richard Smith authored
look at the attribute spelling instead. The 'ownership_*' attributes should probably be split into separate *Attr classes, but that's more than I wanted to do here. llvm-svn: 195805
-