File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1838,18 +1838,18 @@ class _LIBUNWIND_HIDDEN Registers_arm64 {
1838
1838
inline uint64_t auth (uint64_t ptr, uint64_t salt) const {
1839
1839
register uint64_t x17 __asm (" x17" ) = ptr;
1840
1840
register uint64_t x16 __asm (" x16" ) = salt;
1841
- asm (" hint 0xc" // autia1716
1842
- : " +r" (x17)
1843
- : " r" (x16)
1844
- :);
1841
+ asm volatile (" hint 0xc" // autia1716
1842
+ : " +r" (x17)
1843
+ : " r" (x16)
1844
+ :);
1845
1845
1846
1846
uint64_t checkValue = ptr;
1847
1847
// Support for machines without FPAC.
1848
1848
// Strip the upper bits with `XPACLRI` and compare with the
1849
1849
// authenticated value.
1850
- asm (" mov x30, %[checkValue] \r\n "
1851
- " hint 0x7 \r\n "
1852
- " mov %[checkValue], x30 \r\n "
1850
+ asm volatile (" mov x30, %[checkValue] \r\n " \
1851
+ " hint 0x7 \r\n " \
1852
+ " mov %[checkValue], x30 \r\n " \
1853
1853
: [checkValue] " +r" (checkValue)
1854
1854
:
1855
1855
: " x30" );
@@ -1862,7 +1862,7 @@ class _LIBUNWIND_HIDDEN Registers_arm64 {
1862
1862
inline void updatePC (uint64_t value) {
1863
1863
register uint64_t x17 __asm (" x17" ) = value;
1864
1864
register uint64_t x16 __asm (" x16" ) = getAuthSalt ();
1865
- asm (" hint 0x8" : " +r" (x17) : " r" (x16)); // pacia1716
1865
+ asm volatile (" hint 0x8" : " +r" (x17) : " r" (x16)); // pacia1716
1866
1866
_registers.__pc = x17;
1867
1867
}
1868
1868
#else // ! defined(_LIBUNWIND_IS_NATIVE_ONLY)
You can’t perform that action at this time.
0 commit comments