Skip to content

Instantly share code, notes, and snippets.

@pebble8888
Last active June 17, 2018 07:09
Show Gist options
  • Save pebble8888/1c3c4dd55d2ca1fc7d4668a0fdcd42cf to your computer and use it in GitHub Desktop.
Save pebble8888/1c3c4dd55d2ca1fc7d4668a0fdcd42cf to your computer and use it in GitHub Desktop.

Revisions

  1. pebble8888 revised this gist Jun 17, 2018. 1 changed file with 8 additions and 1 deletion.
    9 changes: 8 additions & 1 deletion swift etc
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,11 @@
    swiftc -emit-assembly source.swift > output.s

    _T0s14CountableRangeVAByxGx5lower_x5uppert15uncheckedBounds_tcfCSi_Tg5
    ---> generic specialization <Swift.Int> of Swift.CountableRange.init(uncheckedBounds: (lower: A, upper: A)) -> Swift.CountableRange<A>

    _T0s14CountableRangeVAByxGx5lower_x5uppert15uncheckedBounds_tcfCSi_Tg5 ---> generic specialization <Swift.Int> of Swift.CountableRange.init(uncheckedBounds: (lower: A, upper: A)) -> Swift.CountableRange<A>

    ~$ xcrun swift-demangle __T05hello1as14CountableRangeVySiGvp
    _T05hello1as14CountableRangeVySiGvp ---> hello.a : Swift.CountableRange<Swift.Int>

    ~$ xcrun swift-demangle __T05hello1dSivp
    _T05hello1dSivp ---> hello.d : Swift.Int
  2. pebble8888 revised this gist Jun 17, 2018. 2 changed files with 4 additions and 1 deletion.
    1 change: 0 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1 +0,0 @@
    swiftc -emit-assembly source.swift > output.s
    4 changes: 4 additions & 0 deletions swift etc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    swiftc -emit-assembly source.swift > output.s


    _T0s14CountableRangeVAByxGx5lower_x5uppert15uncheckedBounds_tcfCSi_Tg5 ---> generic specialization <Swift.Int> of Swift.CountableRange.init(uncheckedBounds: (lower: A, upper: A)) -> Swift.CountableRange<A>
  3. pebble8888 created this gist Jun 17, 2018.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    swiftc -emit-assembly source.swift > output.s