[debuginfo-tests] r325928 - [Darwin] Add a test to make sure clang emits __apple accelerator tables.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 12:59:30 PST 2018


On Mon, Feb 26, 2018 at 12:45 PM, Davide Italiano <davide at freebsd.org> wrote:
> On Mon, Feb 26, 2018 at 11:28 AM, Adrian Prantl <aprantl at apple.com> wrote:
>>
>>
>>> On Feb 23, 2018, at 10:04 AM, Davide Italiano via llvm-commits <llvm-commits at lists.llvm.org> wrote:
>>>
>>> Author: davide
>>> Date: Fri Feb 23 10:04:55 2018
>>> New Revision: 325928
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=325928&view=rev
>>> Log:
>>> [Darwin] Add a test to make sure clang emits __apple accelerator tables.
>>>
>>> Added:
>>>    debuginfo-tests/trunk/apple-accel.cpp
>>>
>>> Added: debuginfo-tests/trunk/apple-accel.cpp
>>> URL: http://llvm.org/viewvc/llvm-project/debuginfo-tests/trunk/apple-accel.cpp?rev=325928&view=auto
>>> ==============================================================================
>>> --- debuginfo-tests/trunk/apple-accel.cpp (added)
>>> +++ debuginfo-tests/trunk/apple-accel.cpp Fri Feb 23 10:04:55 2018
>>> @@ -0,0 +1,17 @@
>>> +// REQUIRES: system-darwin
>>> +// Test that clang produces the __apple accelerator tables,
>>> +// e.g., __apple_types, correctly.
>>> +// RUN: %clang %s %target_itanium_abi_host_triple -O0 -c -g -o %t-ex
>> This probably should hardcode -gdwarf-4, (and -gdwarf-2) since the plan is to retire these sections in DWARF v5.
>>
>
> Sure, thanks, let me do this now.

r326121. Thanks again, Adrian.


-- 
Davide

"There are no solved problems; there are only problems that are more
or less solved" -- Henri Poincare


More information about the llvm-commits mailing list