- Oct 17, 2013
-
-
Eric Christopher authored
like C++ should be the fully qualified names for the type. Add a routine that does a language specific context walk to build up the qualified name and use it when we add types/names to the tables. Expand the gnu pubnames testcase as it's the most complex to make sure that qualified types are also being added. llvm-svn: 192865
-
Filip Pizlo authored
I expose the API with some caveats: - The C++ API involves a traditional void* opaque pointer for the fatal error callback. The C API doesn’t do this. I don’t think that the void* opaque pointer makes any sense since this is a global callback - there will only be one of them. So if you need to pass some data to your callback, just put it in a global variable. - The bindings will ignore the gen_crash_diag boolean. I ignore it because (1) I don’t know what it does, (2) it’s not documented AFAIK, and (3) I couldn’t imagine any use for it. I made the gut call that it probably wasn’t important enough to expose through the C API. llvm-svn: 192864
-
Jack Carter authored
No functionality changes. llvm-svn: 192863
-
Eric Christopher authored
function, not the context of the context. llvm-svn: 192862
-
Eric Christopher authored
if they're a declaration, otherwise they're owned by the compile unit. llvm-svn: 192861
-
Reid Kleckner authored
Summary: These are deprecated in VS 2012 according to MSDN. They don't actually compile down to any code. They prevent the compiler from reordering memory accesses across the barrier, which is what a memory-clobbering volatile asm does. Reviewers: echristo CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1954 llvm-svn: 192860
-
Hans Wennborg authored
The reason this got reverted was that the @feat.00 symbol which was emitted for every TU became quoted, and on cygwin/mingw we use the gas assembler which couldn't handle the quotes. This commit fixes the problem by only emitting @feat.00 for win32, where we use clang -cc1as to assemble. gas would just drop this symbol anyway, so there is no loss there. With @feat.00 gone, there shouldn't be quoted symbols showing up on cygwin since it uses the Itanium ABI, which doesn't put these funny characters in symbols. > Because of win32 mangling, we produce symbol and section names with > funny characters in them, most notably @ characters. > > MC would choke on trying to parse its own assembly output. This patch addresses > that by: > > - Making @ trigger quoting of symbol names > - Also quote section names in the same way > - Just parse section names like other identifiers (to allow for quotes) > - Don't assume @ signifies a symbol variant if it is in a string. llvm-svn: 192859
-
rdar://problem/14972424Greg Clayton authored
- Made the dynamic register context for the GDB remote plug-in inherit from the generic DynamicRegisterInfo to avoid code duplication - Finished up the target definition python setting stuff. - Added a new "slice" key/value pair that can specify that a register is part of another register: { 'name':'eax', 'set':0, 'bitsize':32, 'encoding':eEncodingUint, 'format':eFormatHex, 'slice': 'rax[31:0]' }, - Added a new "composite" key/value pair that can specify that a register is made up of two or more registers: { 'name':'d0', 'set':0, 'bitsize':64 , 'encoding':eEncodingIEEE754, 'format':eFormatFloat, 'composite': ['s1', 's0'] }, - Added a new "invalidate-regs" key/value pair for when a register is modified, it can invalidate other registers: { 'name':'cpsr', 'set':0, 'bitsize':32 , 'encoding':eEncodingUint, 'format':eFormatHex, 'invalidate-regs': ['r8', 'r9', 'r10', 'r11', 'r12', 'r13', 'r14', 'r15']}, This now completes the feature that allows a GDB remote target to completely describe itself. llvm-svn: 192858
-
Greg Clayton authored
llvm-svn: 192857
-
David Blaikie authored
llvm-svn: 192856
-
David Blaikie authored
This allows us to produce the same hash as GCC for at least some simple examples. llvm-svn: 192855
-
David Blaikie authored
GTest assumes the left hand side of the assert is the expectation and the right hand side is the test result. It's easier to read gtest failures when these things are ordered correctly. llvm-svn: 192854
-
Fariborz Jahanian authored
when inferring property from setter/getter methods. // rdar://15200949 llvm-svn: 192853
-
- Oct 16, 2013
-
-
Anders Waldenborg authored
The C API currently allows to dump values (LLVMDumpValue), but a similar method for types was not exported. Patch by Peter Zotov Differential Revision: http://llvm-reviews.chandlerc.com/D1911 llvm-svn: 192852
-
Eric Christopher authored
everything else in the class. llvm-svn: 192851
-
David Blaikie authored
llvm-svn: 192850
-
Eric Christopher authored
The test should be expanded upon for more powerpc checking. llvm-svn: 192849
-
Eric Christopher authored
The referenced script no longer seems to exist. llvm-svn: 192848
-
Eric Christopher authored
llvm-svn: 192847
-
Richard Smith authored
declaration. llvm-svn: 192846
-
Chad Rosier authored
llvm-svn: 192845
-
Chad Rosier authored
llvm-svn: 192844
-
Chad Rosier authored
llvm-svn: 192843
-
Chad Rosier authored
llvm-svn: 192842
-
Fariborz Jahanian authored
inferred properties when type is scalar and assumed to be 'assign. // rdar://15231241 llvm-svn: 192841
-
David Blaikie authored
llvm-svn: 192840
-
Eric Christopher authored
Preprocessor support is still needed. llvm-svn: 192839
-
Eric Christopher authored
This should have no functional behavior. llvm-svn: 192838
-
Eric Christopher authored
as we don't actually use it to emit any code yet. llvm-svn: 192837
-
David Blaikie authored
llvm-svn: 192836
-
Rafael Espindola authored
Our use of -fvisibility-inlines-hidden means we cannot check function pointers against non null values. Unfortunately, we also cannot assert that the callbacks are initialized only once. The problem is that lldb has multiple subsystems that need to call this and they don't have a unique initialization order. Thanks to Sean Callanan for reporting it. llvm-svn: 192835
-
Fariborz Jahanian authored
Don't add it to inferred property. // rdar://14988132 llvm-svn: 192834
-
Sean Callanan authored
and alphabetized the contents of Source:Plugins:Platform. This fixes the Mac OS X build. llvm-svn: 192833
-
Rafael Espindola authored
Patch by Katya Romanova. llvm-svn: 192832
-
Rui Ueyama authored
Dead-strip root symbols can be undefined atoms, but should not really be nonexistent, because dead-strip root symbols should be added to initial undefined atoms at startup. Whenever you look up its name in the symbol table, some type of atom will always exist. llvm-svn: 192831
-
Rui Ueyama authored
llvm-svn: 192830
-
Yunzhong Gao authored
clang front end. This change will allow the __PRFCHW__ macro to be set on these processors and hence include prfchwintrin.h in x86intrin.h header. Support for the intrinsic itself seems to have already been added in r178041. Differential Revision: http://llvm-reviews.chandlerc.com/D1934 llvm-svn: 192829
-
Yunzhong Gao authored
bulldozer and piledriver. Support for the instruction itself seems to have already been added in r178040. Differential Revision: http://llvm-reviews.chandlerc.com/D1933 llvm-svn: 192828
-
Rafael Espindola authored
Patch by Stephen Checkoway. llvm-svn: 192827
-
Fariborz Jahanian authored
properties. // rdar://15231860 llvm-svn: 192826
-